[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 45c525a: Fig grammar of count-lines-page
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master 45c525a: Fig grammar of count-lines-page |
Date: |
Sun, 9 Jun 2019 20:00:10 -0400 (EDT) |
branch: master
commit 45c525a685041c274a26c70caed4088726a790de
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
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 2b0cea4..8921b69 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."
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 45c525a: Fig grammar of count-lines-page,
Paul Eggert <=