Commit 45c525a6 authored by Paul Eggert's avatar Paul Eggert Committed by Paul Eggert

Fig grammar of count-lines-page

* lisp/textmodes/page.el (count-lines-page):
Say "Page has 1 line", not "Page has 1 lines" (Bug#35981).
parent abe18f59
Pipeline #1970 failed with stage
in 3 seconds
......@@ -141,7 +141,9 @@ thus showing a page other than the one point was originally in."
(setq total (count-lines beg end)
before (count-lines beg opoint)
after (count-lines opoint end))
(message "Page has %d lines (%d + %d)" total before after))))
(message (ngettext "Page has %d line (%d + %d)"
"Page has %d lines (%d + %d)" total)
total before after))))
(defun what-page ()
"Print page and line number of point."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment