>From bcea7e843936da41619df67faedf5f508db7d722 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 9 Jun 2019 16:59:43 -0700 Subject: [PATCH] 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). --- lisp/textmodes/page.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el index 2b0cea4c64..8921b697f3 100644 --- a/lisp/textmodes/page.el +++ b/lisp/textmodes/page.el @@ -141,7 +141,9 @@ count-lines-page (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." -- 2.21.0