From: Richard M. Stallman Date: Thu, 30 Dec 1993 10:51:33 +0000 (+0000) Subject: (hack-one-local-variable): Treat file-name-handler-alist X-Git-Tag: emacs-19.34~10477 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fea504fb087ef87181a91c69e56af776177cbce4;p=emacs.git (hack-one-local-variable): Treat file-name-handler-alist kand after-load-alist like eval. --- 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)