Commit f95a5fd0 authored by Chong Yidong's avatar Chong Yidong
Browse files

* files.el (hack-local-variables-filter): For eval forms, also

check safe-local-variable-p (Bug#5636).
parent 6583ba0e
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
......
......@@ -2981,6 +2981,7 @@ DIR-NAME is a directory name if these settings come from
(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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment