# HG changeset patch # User Richard M. Stallman # Date 873701225 0 # Node ID 495951c8a76110fa2fd9638045c5eb0c2113924e # Parent ae1fd7734db09f961163b22fafcf55f76cbdf6dd (fill-individual-paragraphs): Don't include paragraph-separate lines in any paragraph; just skip them. diff -r ae1fd7734db0 -r 495951c8a761 lisp/textmodes/fill.el --- a/lisp/textmodes/fill.el Mon Sep 08 03:24:58 1997 +0000 +++ b/lisp/textmodes/fill.el Mon Sep 08 06:47:05 1997 +0000 @@ -939,7 +939,13 @@ (forward-line 1)))) (narrow-to-region (point) max) ;; Loop over paragraphs. - (while (progn (skip-chars-forward " \t\n") (not (eobp))) + (while (progn + ;; Skip over all paragraph-separating lines + ;; so as to not include them in any paragraph. + (while (progn (move-to-left-margin) + (and (not (eobp)) (looking-at paragraph-separate))) + (forward-line 1)) + (skip-chars-forward " \t\n") (not (eobp))) (move-to-left-margin) (let ((start (point)) fill-prefix fill-prefix-regexp)