aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-12-30 10:51:33 +0000
committerRichard M. Stallman1993-12-30 10:51:33 +0000
commitfea504fb087ef87181a91c69e56af776177cbce4 (patch)
treecbaf6952568a0e092dc2a8a9dc085492615ac926
parent7fd233b39ad0a1ea4088c026a666976667a6dec0 (diff)
downloademacs-fea504fb087ef87181a91c69e56af776177cbce4.tar.gz
emacs-fea504fb087ef87181a91c69e56af776177cbce4.zip
(hack-one-local-variable): Treat file-name-handler-alist
kand after-load-alist like eval.
-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)