summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/custom.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index 037f6c5b1d5..885c486c5e4 100644
--- 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 (delq theme custom-enabled-themes)))
+ (cons theme (remq theme custom-enabled-themes)))
;; Give the `user' theme the highest priority.
(enable-theme 'user)))