]> git.eshelyaron.com Git - emacs.git/commitdiff
(hack-one-local-variable): Treat file-name-handler-alist
authorRichard M. Stallman <rms@gnu.org>
Thu, 30 Dec 1993 10:51:33 +0000 (10:51 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 30 Dec 1993 10:51:33 +0000 (10:51 +0000)
kand after-load-alist like eval.

lisp/files.el

index 55cc671e8f19273475f6fc4313636c4184a627e4..289841685d71cf3ba680f51b78a16a9eda7e3e3a 100644 (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)