From fea504fb087ef87181a91c69e56af776177cbce4 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Thu, 30 Dec 1993 10:51:33 +0000 Subject: [PATCH] (hack-one-local-variable): Treat file-name-handler-alist kand after-load-alist like eval. --- lisp/files.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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) -- 2.39.5