Fix saving multiple themes
* lisp/custom.el (enable-theme): Be side-effect free when modifying custom-enabled-themes. (Bug#19999)
This commit is contained in:
parent
c556aabde8
commit
d6f9b09777
1 changed files with 1 additions and 1 deletions
|
@ -1381,7 +1381,7 @@ function runs. To disable other themes, use `disable-theme'."
|
|||
(custom-theme-recalc-variable symbol)))))))
|
||||
(unless (eq theme 'user)
|
||||
(setq custom-enabled-themes
|
||||
(cons theme (delq theme custom-enabled-themes)))
|
||||
(cons theme (remq theme custom-enabled-themes)))
|
||||
;; Give the `user' theme the highest priority.
|
||||
(enable-theme 'user)))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue