branch: externals/modus-themes
commit 711b9c1454f9fc57c8fa991491ee2518c514f28c
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make sure modus-themes-list-colors loads its theme to avoid errors
---
modus-themes.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/modus-themes.el b/modus-themes.el
index ddc6ce06a2..27c1aff1a0 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -5039,6 +5039,7 @@ color mappings instead of the complete palette."
(list
(modus-themes--select-prompt prompt)
current-prefix-arg)))
+ (load-theme theme t t)
(let ((buffer (get-buffer-create (format (if mappings "*%s-list-mappings*"
"*%s-list-all*") theme))))
(with-current-buffer buffer
(let ((modus-themes-current-preview theme)