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:
parent
7fd233b39a
commit
fea504fb08
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue