From 0b7d7b814a7fb836b56b313853734b61566ebddb Mon Sep 17 00:00:00 2001 From: yamaoka Date: Mon, 4 Mar 2002 00:54:08 +0000 Subject: [PATCH] Synch with Oort Gnus. --- lisp/ChangeLog | 6 ++++++ lisp/message.el | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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 () -- 1.7.10.4