• Chong Yidong's avatar
    Tweaks to count-words and count-words-region behavior. · 10607bea
    Chong Yidong authored
    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.
    10607bea
NEWS 57.8 KB