From: Chong Yidong Date: Mon, 20 Jul 2009 14:21:27 +0000 (+0000) Subject: * files.el (hack-local-variables-filter): Fix last change. X-Git-Tag: emacs-pretest-23.1.90~2099 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=42e0a72551dbe075ed0a1bd59098f2191926b59e;p=emacs.git * files.el (hack-local-variables-filter): Fix last change. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 042217c637e..2e7ad522a56 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2009-07-20 Chong Yidong + + * files.el (hack-local-variables-filter): Fix last change. + 2009-07-19 Juri Linkov * files.el (ignored-local-variables): Add `dir-local-variables-alist'. diff --git a/lisp/files.el b/lisp/files.el index ea74261601e..d12c770f5a5 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -2973,7 +2973,7 @@ DIR-NAME is a directory name if these settings come from (or (and (eq enable-local-variables t) (null unsafe-vars) (null risky-vars)) - (eq enable-local-variables :all) + (memq enable-local-variables '(:all :safe)) (hack-local-variables-confirm all-vars unsafe-vars risky-vars dir-name)) (dolist (elt all-vars)