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

    Fix error with positional argument in latest commit 9c65704
---
 modus-themes.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index bb25cf1efe..131256db74 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -3856,7 +3856,7 @@ With optional SHOW-ERROR, throw an error instead of 
returning nil."
   "Return current enabled Modus theme.
 With optional NO-ENABLE, do not try to enable any themes."
   (let ((current (car custom-enabled-themes)))
-    (when (memq current (modus-themes-get-all-known-themes no-enable))
+    (when (memq current (modus-themes-get-all-known-themes nil no-enable))
       current)))
 
 (defun modus-themes--get-theme-palette-subr (theme with-overrides 
with-user-palette)

Reply via email to