projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c556aab
)
Fix saving multiple themes
author
Mauro Aranda
<maurooaranda@gmail.com>
Mon, 6 Jan 2020 14:04:29 +0000
(11:04 -0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 11 Jan 2020 08:31:44 +0000
(10:31 +0200)
* lisp/custom.el (enable-theme): Be side-effect free when modifying
custom-enabled-themes. (Bug#19999)
lisp/custom.el
patch
|
blob
|
history
diff --git
a/lisp/custom.el
b/lisp/custom.el
index 037f6c5b1d5478bb01dbdf3d1a6747065a5d5c8f..885c486c5e43df18fb66da63762fa9e6ef2e7d1b 100644
(file)
--- a/
lisp/custom.el
+++ b/
lisp/custom.el
@@
-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 (
del
q theme custom-enabled-themes)))
+ (cons theme (
rem
q theme custom-enabled-themes)))
;; Give the `user' theme the highest priority.
(enable-theme 'user)))