summaryrefslogtreecommitdiff
path: root/lisp/textmodes/paragraphs.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1995-08-08 08:12:07 +0000
committerRichard M. Stallman <rms@gnu.org>1995-08-08 08:12:07 +0000
commit9a5f4d1ca96ae6fe3ef86c0e316e712d1a458ccb (patch)
tree30afdbd91bcd7e28db850cd697382ffdfb49890d /lisp/textmodes/paragraphs.el
parente5fdbda4dc42e4a0c9f3c0c679575513014ec9e5 (diff)
downloademacs-9a5f4d1ca96ae6fe3ef86c0e316e712d1a458ccb.tar.gz
(forward-paragraph): Don't overlook a paragraph-start
line just because it ends at eob.
Diffstat (limited to 'lisp/textmodes/paragraphs.el')
-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."
(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