diff options
author | Chong Yidong <cyd@gnu.org> | 2012-03-05 14:10:11 +0800 |
---|---|---|
committer | Chong Yidong <cyd@gnu.org> | 2012-03-05 14:10:11 +0800 |
commit | 10607bea34d2cddc62761df6c88d674c2861e71d (patch) | |
tree | d810f16718f7caeccaf97ec2a98bc22776aba713 /lisp/eshell/em-script.el | |
parent | 50ab02c5cc9c84ecb6459bb3b1a041154365f8ac (diff) | |
download | emacs-10607bea34d2cddc62761df6c88d674c2861e71d.tar.gz emacs-10607bea34d2cddc62761df6c88d674c2861e71d.tar.bz2 emacs-10607bea34d2cddc62761df6c88d674c2861e71d.zip |
Tweaks to count-words and count-words-region behavior.
In particular, make count-words more analogous to the existing
count-lines function.
* lisp/simple.el (count-words): If called from Lisp, return the word
count, for symmetry with `count-lines'. Arglist changed.
(count-words--message): Args changed. Consolidate counting code
from count-words and count-words-region.
(count-words-region): Caller changed.
(count-lines-region): Make it an obsolete alias.
Diffstat (limited to 'lisp/eshell/em-script.el')
0 files changed, 0 insertions, 0 deletions