# HG changeset patch # User Chong Yidong # Date 1248099687 0 # Node ID b36e20a63164ba631b6ead741671dd02267a990e # Parent 88eb7005144e8671c4f0dbd6b81a835821c42c5f * files.el (hack-local-variables-filter): Fix last change. diff -r 88eb7005144e -r b36e20a63164 lisp/ChangeLog --- a/lisp/ChangeLog Mon Jul 20 13:58:01 2009 +0000 +++ b/lisp/ChangeLog Mon Jul 20 14:21:27 2009 +0000 @@ -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 -r 88eb7005144e -r b36e20a63164 lisp/files.el --- a/lisp/files.el Mon Jul 20 13:58:01 2009 +0000 +++ b/lisp/files.el Mon Jul 20 14:21:27 2009 +0000 @@ -2973,7 +2973,7 @@ (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)