]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 a6665435a95a80b1fd00cad44ec7ee05c4481218..e883ad2e6a9accadfbc91340efb4cdf4988d48e4 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))))