From: Richard M. Stallman Date: Fri, 3 Apr 1998 05:34:10 +0000 (+0000) Subject: (rmail-mode-2): Locally set enable-local-variables X-Git-Tag: emacs-20.3~1727 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c1a0049caa974fbe33698052ecb5e8a0ee8d469f;p=emacs.git (rmail-mode-2): Locally set enable-local-variables to nil, so a local var list in a message won't confuse things. --- 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: (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))