+2006-02-14 Chong Yidong <cyd@stupidchicken.com>
+
+ * files.el (hack-local-variables): Remove ignored variables before
+ checking if any variables need setting.
+
2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se>
* cus-start.el (all): Add x-gtk-whole-detached-tool-bar.
;; variables (if MODE-ONLY is nil.)
(if mode-only
result
+ (dolist (ignored ignored-local-variables)
+ (setq result (assq-delete-all ignored result)))
+ (if (null enable-local-eval)
+ (setq result (assq-delete-all 'eval result)))
(when result
(setq result (nreverse result))
- (dolist (ignored ignored-local-variables)
- (setq result (assq-delete-all ignored result)))
- (if (null enable-local-eval)
- (setq result (assq-delete-all 'eval result)))
;; Find those variables that we may want to save to
;; `safe-local-variable-values'.
(let (risky-vars unsafe-vars)