diff options
author | Richard M. Stallman <[email protected]> | 1993-12-30 10:51:33 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 1993-12-30 10:51:33 +0000 |
commit | fea504fb087ef87181a91c69e56af776177cbce4 (patch) | |
tree | cbaf6952568a0e092dc2a8a9dc085492615ac926 /lisp/files.el | |
parent | 7fd233b39ad0a1ea4088c026a666976667a6dec0 (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.el | 2 |
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) |