]> git.eshelyaron.com Git - emacs.git/commit
Make `count-words' count sentences.
authorManuel Giraud <manuel@ledu-giraud.fr>
Fri, 20 May 2022 11:52:28 +0000 (13:52 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 29 May 2022 07:58:13 +0000 (10:58 +0300)
commit460d5fd971489ba7b573d71a94cdaac2f9f1a767
treed27b4919126e8cd83111823091fbe3a21f15a321
parent6f8e856ada08abf4cd29f03fe379a66693a78ba3
Make `count-words' count sentences.

* lisp/textmodes/paragraphs.el (count-sentences): New function.
* lisp/simple.el (count-words--format): Update format for showing
sentences.
(count-words): Also count sentences.

* lisp/simple.el (count-words):
* etc/NEWS:
* doc/emacs/basic.texi (Position Info): Update documentation for
sentence counting.
doc/emacs/basic.texi
etc/NEWS
lisp/simple.el
lisp/textmodes/paragraphs.el