aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/files.el
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1993-12-30 10:51:33 +0000
committerRichard M. Stallman <[email protected]>1993-12-30 10:51:33 +0000
commitfea504fb087ef87181a91c69e56af776177cbce4 (patch)
treecbaf6952568a0e092dc2a8a9dc085492615ac926 /lisp/files.el
parent7fd233b39ad0a1ea4088c026a666976667a6dec0 (diff)
(hack-one-local-variable): Treat file-name-handler-alist
kand after-load-alist like eval.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 55cc671e8f..289841685d 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
nil)
;; "Setting" eval means either eval it or do nothing.
;; Likewise for setting hook variables.
- ((or (eq var 'eval)
+ ((or (memq var '(eval file-name-handler-alist after-load-alist))
(string-match "-hooks?$\\|-functions?$" (symbol-name var)))
(if (and (not (string= (user-login-name) "root"))
(or (eq enable-local-eval t)