because there is no setf-method for `delq'.
+2005-07-11 Juanma Barranquero <lekktu@gmail.com>
+
+ * custom.el (custom-enable-theme): Don't add theme to
+ `custom-enabled-themes' with `push' because there is no
+ setf-method for `delq'.
+
2005-07-11 Richard M. Stallman <rms@gnu.org>
* custom.el (custom-declare-variable): Doc fix.
(if (eq prop 'theme-value)
(custom-theme-recalc-variable symbol)
(custom-theme-recalc-face symbol)))))
- (push theme (delq theme custom-enabled-themes))
+ (setq custom-enabled-themes
+ (cons theme (delq theme custom-enabled-themes)))
;; `user' must always be the highest-precedence enabled theme.
(unless (eq theme 'user)
(custom-enable-theme 'user)))