]> 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)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Jan 2024 15:16:10 +0000 (16:16 +0100)
* test/lisp/textmodes/page-tests.el (page-tests-what-page):
Silence byte-compiler warning; forward-line works nicely here.

(cherry picked from commit d4b1e2c3b630ec3b38fb1e6592ba253452c52052)

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)))))