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

    Add missing NO-ENABLE to theme check in modus-themes-with-colors-subr
    
    I added that parameter specifically for this case. When I was
    committing edd5b66, I thought I had passed it here, but apparently I
    did not because that commit also reverted 5777db8...
---
 modus-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index a1087dd3aa..bbd71521b0 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -7322,7 +7322,7 @@ whose value is another symbol, which ultimately resolves 
to a string or
 (defun modus-themes-with-colors-subr (expressions)
   "Do the work of `modus-themes-with-colors' for EXPRESSIONS."
   (condition-case data
-      (when-let* ((theme (modus-themes-get-current-theme)))
+      (when-let* ((theme (modus-themes-get-current-theme :no-enable)))
         (eval
          `(let* ((c '((class color) (min-colors 256)))
                  (unspecified 'unspecified)

Reply via email to