diff options
| author | Richard M. Stallman | 1996-06-28 08:25:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-28 08:25:40 +0000 |
| commit | 98bd608d04d6b6f980da96311a3319a27d61d20d (patch) | |
| tree | 58fca0093ce8b41b41f2165bf4818ddb4c2dc3a7 | |
| parent | 353941298b08e01821395917acecf7bfa1caab71 (diff) | |
| download | emacs-98bd608d04d6b6f980da96311a3319a27d61d20d.tar.gz emacs-98bd608d04d6b6f980da96311a3319a27d61d20d.zip | |
(mail-reply-buffer, mail-send-actions):
Mark them as permanent-local.
(mail-mode): Don't set mail-reply-buffer to nil.
| -rw-r--r-- | lisp/mail/sendmail.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index da3707f2179..516aad5128f 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -164,6 +164,8 @@ If t, it means to insert the contents of the file `mail-signature-file'.") | |||
| 164 | (defvar mail-reply-buffer nil) | 164 | (defvar mail-reply-buffer nil) |
| 165 | (defvar mail-send-actions nil | 165 | (defvar mail-send-actions nil |
| 166 | "A list of actions to be performed upon successful sending of a message.") | 166 | "A list of actions to be performed upon successful sending of a message.") |
| 167 | (put 'mail-reply-buffer 'permanent-local t) | ||
| 168 | (put 'mail-send-actions 'permanent-local t) | ||
| 167 | 169 | ||
| 168 | (defvar mail-default-headers nil | 170 | (defvar mail-default-headers nil |
| 169 | "*A string containing header lines, to be inserted in outgoing messages. | 171 | "*A string containing header lines, to be inserted in outgoing messages. |
| @@ -315,7 +317,6 @@ C-c C-v mail-sent-via (add a Sent-via field for each To or CC)." | |||
| 315 | (interactive) | 317 | (interactive) |
| 316 | (kill-all-local-variables) | 318 | (kill-all-local-variables) |
| 317 | (make-local-variable 'mail-reply-buffer) | 319 | (make-local-variable 'mail-reply-buffer) |
| 318 | (setq mail-reply-buffer nil) | ||
| 319 | (make-local-variable 'mail-send-actions) | 320 | (make-local-variable 'mail-send-actions) |
| 320 | (set-syntax-table mail-mode-syntax-table) | 321 | (set-syntax-table mail-mode-syntax-table) |
| 321 | (use-local-map mail-mode-map) | 322 | (use-local-map mail-mode-map) |