aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-05-31 04:21:15 +0000
committerRichard M. Stallman <[email protected]>1993-05-31 04:21:15 +0000
commitfc23ca96e6cda0aabd2dfab17c5de557a7c27d12 (patch)
tree94a860ceb9fb8949fb50bc1571e11cf1f3675142
parentef194aa8e432606064949351a4332bc2e9efe4db (diff)
(mail-do-fcc): Put back the newline at the start
of the fcc temp buffer. It got lost somewhere.
-rw-r--r--lisp/mail/sendmail.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index d12d77ed2c..9597b9269b 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -379,7 +379,8 @@ the user from the mailer."
(% abs 60))))
(set-buffer tembuf)
(erase-buffer)
- (insert "From " (user-login-name) " "
+ ;; This initial newline is written out if the fcc file already exists.
+ (insert "\nFrom " (user-login-name) " "
(current-time-string time) "\n")
;; Insert the time zone before the year.
(forward-char -1)
@@ -433,6 +434,7 @@ the user from the mailer."
;; Else append to the file directly.
(write-region
;; Include a blank line before if file already exists.
+
(if (file-exists-p (car fcc-list)) (point-min) (1+ (point-min)))
(point-max) (car fcc-list) t)))
(setq fcc-list (cdr fcc-list))))