Mercurial > emacs
changeset 68:7680293d57f3
*** empty log message ***
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 27 Jun 1990 18:35:14 +0000 |
parents | 186ca5a09577 |
children | 0355ba998550 |
files | lisp/textmodes/paragraphs.el |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/paragraphs.el Wed Jun 20 15:40:29 1990 +0000 +++ b/lisp/textmodes/paragraphs.el Wed Jun 27 18:35:14 1990 +0000 @@ -130,7 +130,11 @@ (forward-paragraph -1) (setq npoint (point)) (skip-chars-forward " \t\n") - (if (>= (point) opoint) + ;; If the range of blank lines found spans the original start point, + ;; try again from the beginning of it. + ;; Must be careful to avoid infinite loop + ;; when following a single return at start of buffer. + (if (and (>= (point) opoint) (< npoint opoint)) (progn (goto-char npoint) (if (> npoint (point-min))