summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1992-10-08 06:14:35 +0000
committerRichard M. Stallman <rms@gnu.org>1992-10-08 06:14:35 +0000
commit7984cdcb4444f31f47e81967a0902319a995aaa5 (patch)
treea945673bdf5f40eb4a7581db7322bac20e9610ac /lisp
parent40eef46593240df53fd466b6df67d598a4046468 (diff)
downloademacs-7984cdcb4444f31f47e81967a0902319a995aaa5.tar.gz
(hack-local-variables): Ignore attempts to bind enable-local-eval.
Diffstat (limited to 'lisp')
-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."
(cond ((eq var 'mode)
(funcall (intern (concat (downcase (symbol-name val))
"-mode"))))
+ ((eq var 'enable-local-eval)
+ nil)
((eq var 'eval)
(if (and (not (string= (user-login-name) "root"))
(or (eq enable-local-eval t)