changeset 15546:e4a1ba2cfdba

(mail-reply-buffer, mail-send-actions): Mark them as permanent-local. (mail-mode): Don't set mail-reply-buffer to nil.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Jun 1996 08:25:40 +0000
parents 74530b877334
children c3e0ef571f08
files lisp/mail/sendmail.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/sendmail.el	Fri Jun 28 08:21:49 1996 +0000
+++ b/lisp/mail/sendmail.el	Fri Jun 28 08:25:40 1996 +0000
@@ -164,6 +164,8 @@
 (defvar mail-reply-buffer nil)
 (defvar mail-send-actions nil
   "A list of actions to be performed upon successful sending of a message.")
+(put 'mail-reply-buffer 'permanent-local t)
+(put 'mail-send-actions 'permanent-local t)
 
 (defvar mail-default-headers nil
   "*A string containing header lines, to be inserted in outgoing messages.
@@ -315,7 +317,6 @@
   (interactive)
   (kill-all-local-variables)
   (make-local-variable 'mail-reply-buffer)
-  (setq mail-reply-buffer nil)
   (make-local-variable 'mail-send-actions)
   (set-syntax-table mail-mode-syntax-table)
   (use-local-map mail-mode-map)