From: Mattias EngdegÄrd Date: Sun, 14 Jan 2024 12:37:44 +0000 (+0100) Subject: Use forward-line instead of next-line in noninteractive test X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4b1e2c3b630ec3b38fb1e6592ba253452c52052;p=emacs.git Use forward-line instead of next-line in noninteractive test * test/lisp/textmodes/page-tests.el (page-tests-what-page): Silence byte-compiler warning; forward-line works nicely here. --- diff --git a/test/lisp/textmodes/page-tests.el b/test/lisp/textmodes/page-tests.el index 617b59a54fb..fdefca36c0b 100644 --- a/test/lisp/textmodes/page-tests.el +++ b/test/lisp/textmodes/page-tests.el @@ -110,7 +110,7 @@ (should (equal (page--what-page) '(1 1))) (forward-page) (should (equal (page--what-page) '(2 1))) - (next-line) + (forward-line) (should (equal (page--what-page) '(2 2))) (forward-page) (should (equal (page--what-page) '(3 1)))))