aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1992-10-08 06:14:35 +0000
committerRichard M. Stallman1992-10-08 06:14:35 +0000
commit7984cdcb4444f31f47e81967a0902319a995aaa5 (patch)
treea945673bdf5f40eb4a7581db7322bac20e9610ac
parent40eef46593240df53fd466b6df67d598a4046468 (diff)
downloademacs-7984cdcb4444f31f47e81967a0902319a995aaa5.tar.gz
emacs-7984cdcb4444f31f47e81967a0902319a995aaa5.zip
(hack-local-variables): Ignore attempts to bind enable-local-eval.
-rw-r--r--lisp/files.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index f12609bdc96..c5d101f1469 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -678,6 +678,8 @@ for current buffer."
678 (cond ((eq var 'mode) 678 (cond ((eq var 'mode)
679 (funcall (intern (concat (downcase (symbol-name val)) 679 (funcall (intern (concat (downcase (symbol-name val))
680 "-mode")))) 680 "-mode"))))
681 ((eq var 'enable-local-eval)
682 nil)
681 ((eq var 'eval) 683 ((eq var 'eval)
682 (if (and (not (string= (user-login-name) "root")) 684 (if (and (not (string= (user-login-name) "root"))
683 (or (eq enable-local-eval t) 685 (or (eq enable-local-eval t)