]> git.eshelyaron.com Git - emacs.git/commit
Fix 'what-page'
authorLars Brinkhoff <lars@nocrew.org>
Tue, 2 Jan 2024 08:06:13 +0000 (09:06 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 13 Jan 2024 18:24:55 +0000 (19:24 +0100)
commit3c544ba18f31770cd7d56ebb13a78538a80a748a
treeaaa14366963935ba8363a16755ecd46ae778f947
parentf673754c99e750f5b9254aa925c84693823187b3
Fix 'what-page'

* lisp/textmodes/page.el (page--what-page): Adjust for 1st
line on page, and use 'count-lines' again.  (Bug#68215)

* test/lisp/textmodes/page-tests.el (page-tests-what-page):
Update test.

(cherry picked from commit 740953d1a2f4ea4a200637872b9ecb7dfddfdbe4)
lisp/textmodes/page.el
test/lisp/textmodes/page-tests.el