changeset 12804:1619fcabdb99

(forward-paragraph): Don't overlook a paragraph-start line just because it ends at eob.
author Richard M. Stallman <rms@gnu.org>
date Tue, 08 Aug 1995 08:12:07 +0000
parents 6dcd5ad16790
children 6bf9976041ca
files lisp/textmodes/paragraphs.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/paragraphs.el	Tue Aug 08 06:17:08 1995 +0000
+++ b/lisp/textmodes/paragraphs.el	Tue Aug 08 08:12:07 1995 +0000
@@ -202,10 +202,10 @@
 		      (looking-at fill-prefix-regexp))
 	    (forward-line 1))
 	(while (and (re-search-forward sp-paragraph-start nil 1)
-		    (not (eobp))
 		    (progn (setq start (match-beginning 0))
 			   (goto-char start)
-			   (move-to-left-margin)
+			   (not (eobp)))
+		    (progn (move-to-left-margin)
 			   (not (looking-at paragraph-separate)))
 		    (or (not (looking-at paragraph-start))
 			(and use-hard-newlines