branch: externals/modus-themes
commit 9d0226961d32fac7c14ad9fe613807a6913188c6
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Include the featurep check in modus-themes-theme
    
    This is because our check involves this:
    
        (let ((theme-exists-p (get name 'theme-feature)) ...) ...)
    
    Thanks to Daniel Colascione for informing me about this in issue 201:
    <https://github.com/protesilaos/modus-themes/issues/201>.
---
 modus-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index c1fd24f90b..8136456529 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -7486,7 +7486,7 @@ Consult the manual for details on how to build a theme on 
top of the
            ',name
            ,@variables))
        :lexical))
-    (unless theme-exists-p
+    (unless (featurep theme-exists-p)
       (provide-theme name))))
 
 ;;;; Use theme colors

Reply via email to