changeset 22135:8a0f77d864b2

(rmail-toggle-header): Ensure blank line between headers and body.
author Richard M. Stallman <rms@gnu.org>
date Tue, 19 May 1998 00:42:55 +0000
parents 29c2db002dd5
children bc8c7f59c064
files lisp/mail/rmail.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Tue May 19 00:38:20 1998 +0000
+++ b/lisp/mail/rmail.el	Tue May 19 00:42:55 1998 +0000
@@ -1766,6 +1766,9 @@
   (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))))