1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(hack-one-local-variable): Treat file-name-handler-alist

kand after-load-alist like eval.
This commit is contained in:
Richard M. Stallman 1993-12-30 10:51:33 +00:00
parent 7fd233b39a
commit fea504fb08

View file

@ -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)