emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 37c0208: ; Silence byte-compiler warning in xdisp-tests.el


From: Stefan Kangas
Subject: master 37c0208: ; Silence byte-compiler warning in xdisp-tests.el
Date: Thu, 5 Nov 2020 09:44:39 -0500 (EST)

branch: master
commit 37c0208aaaed404c35934eba6c3a3efa07e7182d
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    ; Silence byte-compiler warning in xdisp-tests.el
    
    * test/src/xdisp-tests.el (xdisp-tests--minibuffer-scroll): Silence
    byte-compiler.
---
 test/src/xdisp-tests.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/src/xdisp-tests.el b/test/src/xdisp-tests.el
index fad90fa..a7e05a5 100644
--- a/test/src/xdisp-tests.el
+++ b/test/src/xdisp-tests.el
@@ -57,9 +57,9 @@
          (xdisp-tests--in-minibuffer
            (let ((max-mini-window-height 4))
              (dotimes (_ 80) (insert "\nhello"))
-             (beginning-of-buffer)
+             (goto-char (point-min))
              (redisplay 'force)
-             (end-of-buffer)
+             (goto-char (point-max))
              ;; A simple edit like removing the last `o' shouldn't cause
              ;; the rest of the minibuffer's text to move.
              (list



reply via email to

[Prev in Thread] Current Thread [Next in Thread]