changeset 21347:aca24aa07fb4

(rmail-mode-2): Locally set enable-local-variables to nil, so a local var list in a message won't confuse things.
author Richard M. Stallman <rms@gnu.org>
date Fri, 03 Apr 1998 05:34:10 +0000
parents 199e97fad577
children 64590f10c605
files lisp/mail/rmail.el
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Fri Apr 03 05:11:30 1998 +0000
+++ b/lisp/mail/rmail.el	Fri Apr 03 05:34:10 1998 +0000
@@ -852,6 +852,9 @@
 
 (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))