Mercurial > emacs
comparison lisp/textmodes/paragraphs.el @ 91204:53108e6cea98
Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 06 Dec 2007 09:51:45 +0000 |
parents | f55f9811f5d7 6659094e0d7d |
children | 606f2d163a64 |
comparison
equal
deleted
inserted
replaced
91203:db40129142b2 | 91204:53108e6cea98 |
---|---|
438 (forward-char 1) | 438 (forward-char 1) |
439 (if (< (point) (point-max)) | 439 (if (< (point) (point-max)) |
440 (end-of-paragraph-text)))))) | 440 (end-of-paragraph-text)))))) |
441 | 441 |
442 (defun forward-sentence (&optional arg) | 442 (defun forward-sentence (&optional arg) |
443 "Move forward to next `sentence-end'. With argument, repeat. | 443 "Move forward to next end of sentence. With argument, repeat. |
444 With negative argument, move backward repeatedly to `sentence-beginning'. | 444 With negative argument, move backward repeatedly to start of sentence. |
445 | 445 |
446 The variable `sentence-end' is a regular expression that matches ends of | 446 The variable `sentence-end' is a regular expression that matches ends of |
447 sentences. Also, every paragraph boundary terminates sentences as well." | 447 sentences. Also, every paragraph boundary terminates sentences as well." |
448 (interactive "p") | 448 (interactive "p") |
449 (or arg (setq arg 1)) | 449 (or arg (setq arg 1)) |