From: yamaoka Date: Mon, 4 Mar 2002 00:54:08 +0000 (+0000) Subject: Synch with Oort Gnus. X-Git-Tag: t-gnus-6_15_6-01-quimby~26 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b7d7b814a7fb836b56b313853734b61566ebddb;p=elisp%2Fgnus.git- Synch with Oort Gnus. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cefeaa4..f10253c 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2002-03-03 ShengHuo ZHU + + * message.el (message-mode): If buffer-file-name, don't set auto + save file name. + From Geoff Greene + 2002-03-02 ShengHuo ZHU * gnus-util.el (gnus-multiple-choice): Use message. XEmacs only diff --git a/lisp/message.el b/lisp/message.el index 124620d..02b2206 100644 --- a/lisp/message.el +++ b/lisp/message.el @@ -2034,7 +2034,8 @@ M-RET `message-newline-and-reformat' (break the line and reformat)." (if (fboundp 'mail-abbrevs-setup) (mail-abbrevs-setup) (mail-aliases-setup))) - (message-set-auto-save-file-name) + (unless buffer-file-name + (message-set-auto-save-file-name)) (set (make-local-variable 'indent-tabs-mode) nil)) ;No tabs for indentation. (defun message-setup-fill-variables ()