; * lisp/textmodes/page.el (page--what-page): Fix last change.

This commit is contained in:
Eli Zaretskii 2024-01-13 12:45:10 +02:00
parent 91b1765cd4
commit 106cd9aafe

View file

@ -165,7 +165,7 @@ The line number is relative to the start of the page."
(widen)
(save-excursion
(let ((count 1)
(adjust (if (or (bolp) (looking-back page-delimiter)) 1 0))
(adjust (if (or (bolp) (looking-back page-delimiter nil)) 1 0))
(opoint (point)))
(goto-char (point-min))
(while (re-search-forward page-delimiter opoint t)