Mercurial > emacs
diff lisp/mail/sendmail.el @ 3340:908134e8308a
(mail-do-fcc): Put back the newline at the start
of the fcc temp buffer. It got lost somewhere.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 31 May 1993 04:21:15 +0000 |
parents | 27d2747abab2 |
children | 7ccd5b60891d |
line wrap: on
line diff
--- a/lisp/mail/sendmail.el Mon May 31 04:03:16 1993 +0000 +++ b/lisp/mail/sendmail.el Mon May 31 04:21:15 1993 +0000 @@ -379,7 +379,8 @@ (% 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 @@ ;; 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))))