diff options
| author | Paul Eggert | 2019-06-09 16:59:43 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-06-09 17:00:05 -0700 |
| commit | 45c525a685041c274a26c70caed4088726a790de (patch) | |
| tree | b6da5294ce5ea702a610e7571180270f7b277b6c | |
| parent | abe18f5917d95ca2a27018ce5dfc01ac91fc9fab (diff) | |
| download | emacs-45c525a685041c274a26c70caed4088726a790de.tar.gz emacs-45c525a685041c274a26c70caed4088726a790de.zip | |
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." | |||
| 141 | (setq total (count-lines beg end) | 141 | (setq total (count-lines beg end) |
| 142 | before (count-lines beg opoint) | 142 | before (count-lines beg opoint) |
| 143 | after (count-lines opoint end)) | 143 | after (count-lines opoint end)) |
| 144 | (message "Page has %d lines (%d + %d)" total before after)))) | 144 | (message (ngettext "Page has %d line (%d + %d)" |
| 145 | "Page has %d lines (%d + %d)" total) | ||
| 146 | total before after)))) | ||
| 145 | 147 | ||
| 146 | (defun what-page () | 148 | (defun what-page () |
| 147 | "Print page and line number of point." | 149 | "Print page and line number of point." |