check safe-local-variable-p (Bug#5636).
+2010-02-24 Chong Yidong <cyd@stupidchicken.com>
+
+ * files.el (hack-local-variables-filter): For eval forms, also
+ check safe-local-variable-p (Bug#5636).
+
2010-02-24 Eduard Wiebe <usenet@pusto.de>
* javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
(push elt all-vars)
(or (eq enable-local-eval t)
(hack-one-local-variable-eval-safep (eval (quote val)))
+ (safe-local-variable-p var val)
(push elt unsafe-vars))))
;; Ignore duplicates (except `mode') in the present list.
((and (assq var all-vars) (not (eq var 'mode))) nil)