changeset 2412:b3ea1323d6d1

(fill-individual-paragraphs): When skipping mail headers, skip to a blank line.
author Richard M. Stallman <rms@gnu.org>
date Sun, 28 Mar 1993 22:56:29 +0000
parents afb11b3822c2
children b477af00fb87
files lisp/textmodes/fill.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/fill.el	Sun Mar 28 22:35:42 1993 +0000
+++ b/lisp/textmodes/fill.el	Sun Mar 28 22:56:29 1993 +0000
@@ -292,7 +292,7 @@
       (beginning-of-line)
       (if mailp 
 	  (while (or (looking-at "[ \t]*[^ \t\n]*:") (looking-at "[ \t]*$"))
-	    (forward-line 1)))
+	    (search-forward "\n\n" nil 'move)))
       (narrow-to-region (point) max)
       ;; Loop over paragraphs.
       (while (progn (skip-chars-forward " \t\n") (not (eobp)))