Commit d7a2fd42 authored by Romain Francoise's avatar Romain Francoise

2007-11-02 Drake Wilson <drake@begriffli.ch> (tiny change)

	* files.el (hack-local-variables): Fix membership tests to avoid
	treating all variables as safe if `enable-local-variables' is
	set to :safe.
parent 6da047e7
2007-11-02 Drake Wilson <drake@begriffli.ch> (tiny change)
* files.el (hack-local-variables): Fix membership tests to avoid
treating all variables as safe if `enable-local-variables' is
set to :safe.
2007-11-02 Glenn Morris <rgm@gnu.org>
* progmodes/etags.el (tags-table-mode): Disable undo.
......@@ -2764,8 +2764,8 @@ is specified, returning t if it is specified."
;; If caller wants only the safe variables,
;; install only them.
(dolist (elt result)
(unless (or (memq (car elt) unsafe-vars)
(memq (car elt) risky-vars))
(unless (or (member elt unsafe-vars)
(member elt risky-vars))
(hack-one-local-variable (car elt) (cdr elt))))
;; Query, except in the case where all are known safe
;; if the user wants no quuery in that case.
......
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