aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1995-08-08 08:12:07 +0000
committerRichard M. Stallman1995-08-08 08:12:07 +0000
commit4669fb3c766c4af503aa24ae9987bda7c1cdb40f (patch)
tree5c2c0a6a132398b33503a392c394fb0ec8e57bb2
parent23ce41fc6d9c9092be82a166bfe45553dd9cf615 (diff)
downloademacs-4669fb3c766c4af503aa24ae9987bda7c1cdb40f.tar.gz
emacs-4669fb3c766c4af503aa24ae9987bda7c1cdb40f.zip
(forward-paragraph): Don't overlook a paragraph-start
line just because it ends at eob.
-rw-r--r--lisp/textmodes/paragraphs.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index 65372363661..9a50e555f58 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -202,10 +202,10 @@ to which the end of the previous line belongs, or the end of the buffer."
202 (looking-at fill-prefix-regexp)) 202 (looking-at fill-prefix-regexp))
203 (forward-line 1)) 203 (forward-line 1))
204 (while (and (re-search-forward sp-paragraph-start nil 1) 204 (while (and (re-search-forward sp-paragraph-start nil 1)
205 (not (eobp))
206 (progn (setq start (match-beginning 0)) 205 (progn (setq start (match-beginning 0))
207 (goto-char start) 206 (goto-char start)
208 (move-to-left-margin) 207 (not (eobp)))
208 (progn (move-to-left-margin)
209 (not (looking-at paragraph-separate))) 209 (not (looking-at paragraph-separate)))
210 (or (not (looking-at paragraph-start)) 210 (or (not (looking-at paragraph-start))
211 (and use-hard-newlines 211 (and use-hard-newlines