branch: externals/modus-themes
commit d9adb13ebc46def589c0a32b366f49b32a5b72db
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make sure a theme is registered only if it is not a Modus theme
---
modus-themes.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modus-themes.el b/modus-themes.el
index 92662974b3..74fa36c574 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -8148,7 +8148,7 @@ corresponding entries."
`(modus-themes-declare
',name ',family ,description ',background-mode
',core-palette ',user-palette ',overrides-palette)))
- ,@(when user-palette
+ ,@(unless (eq family 'modus-themes)
(list
`(modus-themes-register ',name)))
(let* ((c '((class color) (min-colors 256)))