From 42e0a72551dbe075ed0a1bd59098f2191926b59e Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Mon, 20 Jul 2009 14:21:27 +0000 Subject: [PATCH] * files.el (hack-local-variables-filter): Fix last change. --- lisp/ChangeLog | 4 ++++ lisp/files.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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) -- 2.39.2