diff options
author | Paul Eggert <eggert@Penguin.CS.UCLA.EDU> | 2019-06-09 16:59:43 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-06-09 17:00:05 -0700 |
commit | 45c525a685041c274a26c70caed4088726a790de (patch) | |
tree | b6da5294ce5ea702a610e7571180270f7b277b6c | |
parent | abe18f5917d95ca2a27018ce5dfc01ac91fc9fab (diff) | |
download | emacs-45c525a685041c274a26c70caed4088726a790de.tar.gz |
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).
-rw-r--r-- | lisp/textmodes/page.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el index 2b0cea4c643..8921b697f3b 100644 --- a/lisp/textmodes/page.el +++ b/lisp/textmodes/page.el @@ -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." |