]> git.eshelyaron.com Git - emacs.git/commitdiff
; Silence byte-compiler warning in xdisp-tests.el
authorStefan Kangas <stefan@marxist.se>
Thu, 5 Nov 2020 14:42:26 +0000 (15:42 +0100)
committerStefan Kangas <stefan@marxist.se>
Thu, 5 Nov 2020 14:44:17 +0000 (15:44 +0100)
* test/src/xdisp-tests.el (xdisp-tests--minibuffer-scroll): Silence
byte-compiler.

test/src/xdisp-tests.el

index fad90fad531556d99f84891687e34930586d4724..a7e05a57de920d5ba68b5068d41913cddbde6281 100644 (file)
@@ -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