mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-02 08:22:22 +00:00
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).
This commit is contained in:
parent
abe18f5917
commit
45c525a685
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user