Mercurial > emacs
changeset 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 | a76734c7dcc5 |
children | 79657d6d8843 |
files | lisp/mail/sendmail.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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))))