From 1b15d8adcf0c90c8a02d94fb57c2982cdc159424 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 13 Aug 2012 09:37:05 +0200 Subject: [PATCH] * files.el (hack-local-variables-filter): Remove useless eval. --- lisp/ChangeLog | 7 ++++++- lisp/files.el | 3 +-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 79ea1e0bdd4..03ba16d91d9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2012-08-13 Andreas Schwab + + * files.el (hack-local-variables-filter): Remove useless eval. + 2012-08-13 Martin Rudalics * subr.el (with-selected-window): Fix last change. @@ -6,7 +10,8 @@ * subr.el (internal--before-with-seleted-window) (internal--after-with-seleted-window): New functions. - (with-selected-window): Use them, to replace dependency on tty-top-frame. + (with-selected-window): Use them, to replace dependency on + tty-top-frame. 2012-08-12 Nobuyoshi Nakada diff --git a/lisp/files.el b/lisp/files.el index a7c9a7f7db4..bec494b80a2 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -3102,8 +3102,7 @@ DIR-NAME is the name of the associated directory. Otherwise it is nil." ;; Obey `enable-local-eval'. ((eq var 'eval) (when enable-local-eval - (let ((safe (or (hack-one-local-variable-eval-safep - (eval (quote val))) + (let ((safe (or (hack-one-local-variable-eval-safep val) ;; In case previously marked safe (bug#5636). (safe-local-variable-p var val)))) ;; If not safe and e-l-v = :safe, ignore totally. -- 2.39.5