* 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 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.
;; 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.