mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-01 11:20:41 -08:00
(rmail-mode-2): Locally set enable-local-variables
to nil, so a local var list in a message won't confuse things.
This commit is contained in:
parent
03a5af7baf
commit
c1a0049caa
1 changed files with 3 additions and 0 deletions
|
|
@ -852,6 +852,9 @@ Instead, these commands are available:
|
|||
|
||||
(defun rmail-mode-2 ()
|
||||
(kill-all-local-variables)
|
||||
;; Don't let a local variables list in a message cause confusion.
|
||||
(make-local-variable 'enable-local-variables)
|
||||
(setq enable-local-variables nil)
|
||||
(rmail-mode-1)
|
||||
(rmail-variables))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue