From c1a0049caa974fbe33698052ecb5e8a0ee8d469f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 3 Apr 1998 05:34:10 +0000 Subject: [PATCH] (rmail-mode-2): Locally set enable-local-variables to nil, so a local var list in a message won't confuse things. --- lisp/mail/rmail.el | 3 +++ 1 file changed, 3 insertions(+) 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)) -- 2.39.2