]> git.eshelyaron.com Git - emacs.git/commitdiff
(fill-individual-paragraphs): Fix skipping headers of yanked message.
authorRichard M. Stallman <rms@gnu.org>
Fri, 12 Nov 1993 23:35:39 +0000 (23:35 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 12 Nov 1993 23:35:39 +0000 (23:35 +0000)
lisp/textmodes/fill.el

index b5017b22a9d9a7ba4b509ab032602055594817fa..bbe44f3d6fe40335a64af958fa74d95a71bfef89 100644 (file)
@@ -327,7 +327,9 @@ MAIL-FLAG for a mail message, i. e. don't fill header lines."
       (beginning-of-line)
       (if mailp 
          (while (or (looking-at "[ \t]*[^ \t\n]*:") (looking-at "[ \t]*$"))
-           (search-forward "\n\n" nil 'move)))
+           (if (looking-at "[ \t]*[^ \t\n]*:")
+               (search-forward "\n\n" nil 'move)
+             (forward-line 1))))
       (narrow-to-region (point) max)
       ;; Loop over paragraphs.
       (while (progn (skip-chars-forward " \t\n") (not (eobp)))