summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-25 07:20:19 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-25 07:20:19 +0000
commit47cb96a3a0833f35e9a950b0cffda8b10fb15f74 (patch)
tree41aaf17bd947208be9040eef992b1e0bf033e35e
parent07c5679f4edfc0e50c1b25ac8034ec560b20c215 (diff)
downloademacs-47cb96a3a0833f35e9a950b0cffda8b10fb15f74.tar.gz
(forward-paragraph): Don't ever move forward again across a line if we
stopped there because it doesn't start with the fill prefix.
-rw-r--r--lisp/textmodes/paragraphs.el14
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el
index a7cc32b7413..775f0ea72a9 100644
--- a/lisp/textmodes/paragraphs.el
+++ b/lisp/textmodes/paragraphs.el
@@ -195,12 +195,14 @@ to which the end of the previous line belongs, or the end of the buffer."
(setq multiple-lines t))
(forward-line -1))
(move-to-left-margin)
- ;; Don't move back over a line before the paragraph
- ;; which doesn't start with fill-prefix
- ;; unless that is the only line we've moved over.
- (and (not (looking-at fill-prefix-regexp))
- multiple-lines
- (forward-line 1))
+;;; This deleted code caused a long hanging-indent line
+;;; not to be filled together with the following lines.
+;;; ;; Don't move back over a line before the paragraph
+;;; ;; which doesn't start with fill-prefix
+;;; ;; unless that is the only line we've moved over.
+;;; (and (not (looking-at fill-prefix-regexp))
+;;; multiple-lines
+;;; (forward-line 1))
(not (bobp)))
(while (and (re-search-backward sp-paragraph-start nil 1)
;; Found a candidate, but need to check if it is a