diff options
| author | Richard M. Stallman | 1994-05-19 20:48:32 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-05-19 20:48:32 +0000 |
| commit | 6016579d519c7a50b498e56774882356d0ee20aa (patch) | |
| tree | 848caca66f3c4e370b056b236aa130ad8a2206d8 | |
| parent | 6c65d1ec438691e57d335333b1d5bec7cd482191 (diff) | |
| download | emacs-6016579d519c7a50b498e56774882356d0ee20aa.tar.gz emacs-6016579d519c7a50b498e56774882356d0ee20aa.zip | |
(rmail-variables): Don't add any permanent-local props.
Don't make rmail-last-file local.
| -rw-r--r-- | lisp/mail/rmail.el | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index e52df392873..2a5297c87a5 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -584,7 +584,6 @@ Instead, these commands are available: | |||
| 584 | (make-local-variable 'file-precious-flag) | 584 | (make-local-variable 'file-precious-flag) |
| 585 | (setq file-precious-flag t) | 585 | (setq file-precious-flag t) |
| 586 | (make-local-variable 'rmail-message-vector) | 586 | (make-local-variable 'rmail-message-vector) |
| 587 | (make-local-variable 'rmail-last-file) | ||
| 588 | (make-local-variable 'rmail-inbox-list) | 587 | (make-local-variable 'rmail-inbox-list) |
| 589 | (setq rmail-inbox-list (rmail-parse-file-inboxes)) | 588 | (setq rmail-inbox-list (rmail-parse-file-inboxes)) |
| 590 | ;; Provide default set of inboxes for primary mail file ~/RMAIL. | 589 | ;; Provide default set of inboxes for primary mail file ~/RMAIL. |
| @@ -599,24 +598,7 @@ Instead, these commands are available: | |||
| 599 | (user-login-name))))))) | 598 | (user-login-name))))))) |
| 600 | (make-local-variable 'rmail-keywords) | 599 | (make-local-variable 'rmail-keywords) |
| 601 | ;; this gets generated as needed | 600 | ;; this gets generated as needed |
| 602 | (setq rmail-keywords nil) | 601 | (setq rmail-keywords nil)) |
| 603 | ;; Make everything permanent, in case the user switches major modes | ||
| 604 | ;; during an edit. | ||
| 605 | (put 'revert-buffer-function 'permanent-local t) | ||
| 606 | (put 'rmail-last-label 'permanent-local t) | ||
| 607 | (put 'rmail-last-regexp 'permanent-local t) | ||
| 608 | (put 'rmail-deleted-vector 'permanent-local t) | ||
| 609 | (put 'rmail-summary-buffer 'permanent-local t) | ||
| 610 | (put 'rmail-summary-vector 'permanent-local t) | ||
| 611 | (put 'rmail-current-message 'permanent-local t) | ||
| 612 | (put 'rmail-total-messages 'permanent-local t) | ||
| 613 | (put 'require-final-newline 'permanent-local t) | ||
| 614 | (put 'version-control 'permanent-local t) | ||
| 615 | (put 'file-precious-flag 'permanent-local t) | ||
| 616 | (put 'rmail-message-vector 'permanent-local t) | ||
| 617 | (put 'rmail-last-file 'permanent-local t) | ||
| 618 | (put 'rmail-inbox-list 'permanent-local t) | ||
| 619 | (put 'rmail-keywords 'permanent-local t)) | ||
| 620 | 602 | ||
| 621 | ;; Handle M-x revert-buffer done in an rmail-mode buffer. | 603 | ;; Handle M-x revert-buffer done in an rmail-mode buffer. |
| 622 | (defun rmail-revert (arg noconfirm) | 604 | (defun rmail-revert (arg noconfirm) |