diff options
| author | Richard M. Stallman | 1998-04-03 05:34:10 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-04-03 05:34:10 +0000 |
| commit | c1a0049caa974fbe33698052ecb5e8a0ee8d469f (patch) | |
| tree | 214886845f1fa19e1f336bf3a18d1aea53a8aff6 /lisp | |
| parent | 03a5af7bafa8ec74ca4f75f108872c66adcb1156 (diff) | |
| download | emacs-c1a0049caa974fbe33698052ecb5e8a0ee8d469f.tar.gz emacs-c1a0049caa974fbe33698052ecb5e8a0ee8d469f.zip | |
(rmail-mode-2): Locally set enable-local-variables
to nil, so a local var list in a message won't confuse things.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/mail/rmail.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index c874ade81fc..1381ec2560b 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -852,6 +852,9 @@ Instead, these commands are available: | |||
| 852 | 852 | ||
| 853 | (defun rmail-mode-2 () | 853 | (defun rmail-mode-2 () |
| 854 | (kill-all-local-variables) | 854 | (kill-all-local-variables) |
| 855 | ;; Don't let a local variables list in a message cause confusion. | ||
| 856 | (make-local-variable 'enable-local-variables) | ||
| 857 | (setq enable-local-variables nil) | ||
| 855 | (rmail-mode-1) | 858 | (rmail-mode-1) |
| 856 | (rmail-variables)) | 859 | (rmail-variables)) |
| 857 | 860 | ||