Mercurial > emacs
changeset 2503:fb3509fdf8b7
Sat Apr 10 00:39:29 1993 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* paragraphs.el (sentence-end, forward-sentence): Doc fixes.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 10 Apr 1993 06:21:16 +0000 |
parents | 190371d9bc2e |
children | 181eef669324 |
files | lisp/textmodes/paragraphs.el |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/paragraphs.el Sat Apr 10 06:20:55 1993 +0000 +++ b/lisp/textmodes/paragraphs.el Sat Apr 10 06:21:16 1993 +0000 @@ -37,7 +37,11 @@ (defconst sentence-end (purecopy "[.?!][]\"')}]*\\($\\| $\\|\t\\| \\)[ \t\n]*") "\ *Regexp describing the end of a sentence. -All paragraph boundaries also end sentences, regardless.") +All paragraph boundaries also end sentences, regardless. + +In order to be recognized as the end of a sentence, the ending period, +question mark, or exclamation point must be followed by two spaces, +unless it's inside some sort of quotes or parenthesis.") (defconst page-delimiter "^\014" "\ *Regexp describing line-beginnings that separate pages.") @@ -178,7 +182,7 @@ (end-of-paragraph-text)))))) (defun forward-sentence (&optional arg) - "Move forward to next`sentence-end'. With argument, repeat. + "Move forward to next `sentence-end'. With argument, repeat. With negative argument, move backward repeatedly to `sentence-beginning'. The variable `sentence-end' is a regular expression that matches ends of