diff --git a/consult.el b/consult.el index c482b60e..fb61be71 100644 --- a/consult.el +++ b/consult.el @@ -781,10 +781,7 @@ preview if `consult-preview-mode' is enabled." (symbol-name (car custom-enabled-themes))))))) (unless (equal theme (car custom-enabled-themes)) (mapc #'disable-theme custom-enabled-themes) - (when theme - (if (custom-theme-p theme) - (enable-theme theme) - (load-theme theme :no-confirm))))) + (when theme (load-theme theme :no-confirm)))) ;; TODO consult--buffer-selectrum performs dynamic computation of the candidate set. ;; this is currently not supported by completing-read+selectrum.