aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 55cc671e8f1..289841685d7 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1052,7 +1052,7 @@ If `enable-local-variables' is nil, this function does not check for a
1052 nil) 1052 nil)
1053 ;; "Setting" eval means either eval it or do nothing. 1053 ;; "Setting" eval means either eval it or do nothing.
1054 ;; Likewise for setting hook variables. 1054 ;; Likewise for setting hook variables.
1055 ((or (eq var 'eval) 1055 ((or (memq var '(eval file-name-handler-alist after-load-alist))
1056 (string-match "-hooks?$\\|-functions?$" (symbol-name var))) 1056 (string-match "-hooks?$\\|-functions?$" (symbol-name var)))
1057 (if (and (not (string= (user-login-name) "root")) 1057 (if (and (not (string= (user-login-name) "root"))
1058 (or (eq enable-local-eval t) 1058 (or (eq enable-local-eval t)