From: Stefan Kangas Date: Thu, 5 Nov 2020 14:42:26 +0000 (+0100) Subject: ; Silence byte-compiler warning in xdisp-tests.el X-Git-Tag: emacs-28.0.90~5242 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=37c0208aaaed404c35934eba6c3a3efa07e7182d;p=emacs.git ; Silence byte-compiler warning in xdisp-tests.el * test/src/xdisp-tests.el (xdisp-tests--minibuffer-scroll): Silence byte-compiler. --- diff --git a/test/src/xdisp-tests.el b/test/src/xdisp-tests.el index fad90fad531..a7e05a57de9 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