From 37c0208aaaed404c35934eba6c3a3efa07e7182d Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Thu, 5 Nov 2020 15:42:26 +0100 Subject: [PATCH] ; 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 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 -- 2.39.2