diff options
author | Juanma Barranquero <[email protected]> | 2007-11-21 00:32:46 +0000 |
---|---|---|
committer | Juanma Barranquero <[email protected]> | 2007-11-21 00:32:46 +0000 |
commit | 33127d1a78f2a37d68ffa09642df2f38d78e95b1 (patch) | |
tree | d624a8e8747dfcefe511707877b73e6cd494ff3a | |
parent | 37dddac63c5ce29a85c74387c0f959b960e05c9d (diff) |
(forward-sentence): Doc fix.
Reported by Drew Adams <[email protected]>.
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/textmodes/paragraphs.el | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f2322ae4d2..b050d2a5fa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-11-21 Juanma Barranquero <[email protected]> + + * textmodes/paragraphs.el (forward-sentence): Doc fix. + Reported by Drew Adams <[email protected]>. + 2007-11-20 Glenn Morris <[email protected]> * emacs-lisp/byte-run.el (declare-function): Define as a no-op, diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index 201eeebb62..06ebeea9fa 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -440,8 +440,8 @@ negative arg -N means kill forward to Nth end of paragraph." (end-of-paragraph-text)))))) (defun forward-sentence (&optional arg) - "Move forward to next `sentence-end'. With argument, repeat. -With negative argument, move backward repeatedly to `sentence-beginning'. + "Move forward to next end of sentence. With argument, repeat. +With negative argument, move backward repeatedly to start of sentence. The variable `sentence-end' is a regular expression that matches ends of sentences. Also, every paragraph boundary terminates sentences as well." |