]> git.eshelyaron.com Git - emacs.git/commitdiff
Use forward-line instead of next-line in noninteractive test
authorMattias Engdegård <mattiase@acm.org>
Sun, 14 Jan 2024 12:37:44 +0000 (13:37 +0100)
committerMattias Engdegård <mattiase@acm.org>
Sun, 14 Jan 2024 13:17:41 +0000 (14:17 +0100)
* test/lisp/textmodes/page-tests.el (page-tests-what-page):
Silence byte-compiler warning; forward-line works nicely here.

test/lisp/textmodes/page-tests.el

index 617b59a54fb83281d5dd1a304e1177dff992171c..fdefca36c0bc89d5a5f83dac7749a4a825813623 100644 (file)
     (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)))))