aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1994-05-23 04:55:57 +0000
committerRichard M. Stallman1994-05-23 04:55:57 +0000
commitdc417415cbc446ecdb09df11354e3d5089631fd4 (patch)
treec94330702b4db72f8ef658607e64eea9f1a7f8a3
parente6a4af1dafc946a90d0d70b6f2b8c8ef1ec77fab (diff)
downloademacs-dc417415cbc446ecdb09df11354e3d5089631fd4.tar.gz
emacs-dc417415cbc446ecdb09df11354e3d5089631fd4.zip
(hack-one-local-variable): Check properly for `defun.
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 9d60132d495..b64bb047af4 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1136,7 +1136,7 @@ If `enable-local-variables' is nil, this function does not check for a
1136 ;; Only allow safe values of lisp-indent-hook; 1136 ;; Only allow safe values of lisp-indent-hook;
1137 ;; not functions. 1137 ;; not functions.
1138 (or (numberp (nth 3 val)) 1138 (or (numberp (nth 3 val))
1139 (eq (nth 3 val) 'defun)) 1139 (equal (nth 3 val) ''defun))
1140 (memq (nth 1 (nth 2 val)) 1140 (memq (nth 1 (nth 2 val))
1141 '(lisp-indent-hook))) 1141 '(lisp-indent-hook)))
1142 ;; Permit eval if not root and user says ok. 1142 ;; Permit eval if not root and user says ok.