branch: externals/modus-themes
commit 247f5803bc0f7d2479f6ae360479fa540572c37f
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Pass missing LEXICAL to 'eval'
This might be what I was missing the whole time. I think the macro is
working now. Will continue testing...
---
modus-themes.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/modus-themes.el b/modus-themes.el
index 954d196159..ae794265ea 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -7300,7 +7300,8 @@ Consult the manual for details on how to build a theme on
top of the
,@faces)
(custom-theme-set-variables
',name
- ,@variables))))
+ ,@variables))
+ :lexical))
(unless theme-exists-p
(provide-theme name))))
@@ -7347,7 +7348,8 @@ Consult the manual for details on how to build a theme on
top of the
(when-let* ((theme (modus-themes-get-current-theme)))
(eval
`(let* (,@(modus-themes--with-colors-resolve-palette theme))
- ,@expressions)))
+ ,@expressions)
+ :lexical))
(error (message "Error in `modus-themes-with-colors': %s" data))))
(defmacro modus-themes-with-colors (&rest body)