]> 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)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Jan 2024 10:07:34 +0000 (12:07 +0200)
commit740953d1a2f4ea4a200637872b9ecb7dfddfdbe4
tree57ffc8c2a555d4674bdf1ef82b3e37101a8bc033
parent9b8b352ebc09de3259f655fa4d491507109044b3
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.
lisp/textmodes/page.el
test/lisp/textmodes/page-tests.el