summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-03-28 22:56:29 +0000
committerRichard M. Stallman <rms@gnu.org>1993-03-28 22:56:29 +0000
commit55718e15d6caa9822cdfda70e63f8d4d7099181c (patch)
tree34d824bc8fab2d81cbfbc3c7683e9b28771904d7
parentbfb0cf0c94584fdf9764b2193f34aa3228239388 (diff)
downloademacs-55718e15d6caa9822cdfda70e63f8d4d7099181c.tar.gz
emacs-55718e15d6caa9822cdfda70e63f8d4d7099181c.tar.bz2
emacs-55718e15d6caa9822cdfda70e63f8d4d7099181c.zip
(fill-individual-paragraphs): When skipping mail headers, skip to a blank line.
-rw-r--r--lisp/textmodes/fill.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index a905bef78d1..8486e81c2e2 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -292,7 +292,7 @@ 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]*$"))
- (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)))