aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman1998-05-19 00:42:55 +0000
committerRichard M. Stallman1998-05-19 00:42:55 +0000
commit2be0e541138fa0d8eb5b4617691e81a37cfc3227 (patch)
tree720b5aceda4f35255f235691dc57db38014f4d5d /lisp
parent5686b9d451fb8d23c8d9844cbe0250beaffe51b0 (diff)
downloademacs-2be0e541138fa0d8eb5b4617691e81a37cfc3227.tar.gz
emacs-2be0e541138fa0d8eb5b4617691e81a37cfc3227.zip
(rmail-toggle-header): Ensure blank line between headers and body.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/mail/rmail.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index a6665435a95..e883ad2e6a9 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -1766,6 +1766,9 @@ Otherwise, delete all header fields whose names match `rmail-ignored-headers'."
1766 (save-restriction 1766 (save-restriction
1767 (save-excursion 1767 (save-excursion
1768 (narrow-to-region (rmail-msgbeg rmail-current-message) (point-max)) 1768 (narrow-to-region (rmail-msgbeg rmail-current-message) (point-max))
1769 (if (not (or (= ?\n (char-after (point)))
1770 (= ?\n (char-before (1- (point))))))
1771 (insert "\n"))
1769 (goto-char (point-min)) 1772 (goto-char (point-min))
1770 (forward-line 1) 1773 (forward-line 1)
1771 (= (following-char) ?1)))) 1774 (= (following-char) ?1))))