From: Eli Zaretskii Date: Sun, 13 Feb 2022 13:05:13 +0000 (+0200) Subject: ; * lisp/simple.el (count-words): Doc fix. X-Git-Tag: emacs-29.0.90~2335 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=68b32732140606a1eddce82f50733c549a40900a;p=emacs.git ; * lisp/simple.el (count-words): Doc fix. --- diff --git a/lisp/simple.el b/lisp/simple.el index bd1138ac856..695871db505 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -1486,11 +1486,11 @@ START and END." If called interactively, START and END are normally the start and end of the buffer; but if the region is active, START and END are the start and end of the region. Print a message reporting the -number of lines, words, and chars. If given a prefix, also -include the data for the total (un-narrowed) buffer. +number of lines, words, and chars. With prefix argument, also +include the data for the entire (un-narrowed) buffer. If called from Lisp, return the number of words between START and -END, without printing any message. TOTAL is ignored when called +END, without printing any message. TOTALS is ignored when called from Lisp." (interactive (list nil nil current-prefix-arg)) ;; When called from Lisp, return the data.