From: Juanma Barranquero Date: Wed, 21 Nov 2007 00:32:46 +0000 (+0000) Subject: (forward-sentence): Doc fix. X-Git-Tag: emacs-pretest-22.1.90~336 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33127d1a78f2a37d68ffa09642df2f38d78e95b1;p=emacs.git (forward-sentence): Doc fix. Reported by Drew Adams . --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f2322ae4d24..b050d2a5faa 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-11-21 Juanma Barranquero + + * textmodes/paragraphs.el (forward-sentence): Doc fix. + Reported by Drew Adams . + 2007-11-20 Glenn Morris * 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 201eeebb623..06ebeea9fa0 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."