# HG changeset patch # User Richard M. Stallman # Date 843636019 0 # Node ID 5aff0b539ae0dc9966d54f5c200de2e07e5d1e58 # Parent 2239440f2f007461f1cfb45d26048cc614a983df (forward-paragraph): Don't ever move forward again across a line if we stopped there because it doesn't start with the fill prefix. diff -r 2239440f2f00 -r 5aff0b539ae0 lisp/textmodes/paragraphs.el --- a/lisp/textmodes/paragraphs.el Wed Sep 25 07:17:18 1996 +0000 +++ b/lisp/textmodes/paragraphs.el Wed Sep 25 07:20:19 1996 +0000 @@ -195,12 +195,14 @@ (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