(rmail-toggle-header): Ensure blank line between headers and body.
authorRichard M. Stallman <rms@gnu.org>
Tue, 19 May 1998 00:42:55 +0000 (00:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 19 May 1998 00:42:55 +0000 (00:42 +0000)
lisp/mail/rmail.el

index a666543..e883ad2 100644 (file)
@@ -1766,6 +1766,9 @@ Otherwise, delete all header fields whose names match `rmail-ignored-headers'."
   (save-restriction
     (save-excursion
   (narrow-to-region (rmail-msgbeg rmail-current-message) (point-max))
+                 (if (not (or (= ?\n (char-after (point)))
+                              (= ?\n (char-before (1- (point))))))
+                     (insert "\n"))
     (goto-char (point-min))
     (forward-line 1)
       (= (following-char) ?1))))