branch: externals/modus-themes
commit 6880f3a7d99d98eae81905c566dc920dbb652cff
Author: Protesilaos Stavrou <i...@protesilaos.com>
Commit: Protesilaos Stavrou <i...@protesilaos.com>

    Suppress spurious warning about kmacro-menu-mark face
---
 modus-themes.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index 8159adb35c..ac88d14890 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -2927,7 +2927,8 @@ FG and BG are the main colors."
     `(keycast-command ((,c :inherit bold)))
     `(keycast-key ((,c :inherit modus-themes-bold :background ,keybind 
:foreground ,bg-main)))
 ;;;;; kmacro-menu
-    `(kmacro-menu-mark ((,c :inherit bold)))
+    ;; Use `list' here to avoid a spurious warning about `kmacro-menu-mark'.
+    (list 'kmacro-menu-mark `((,c :inherit bold)))
     `(kmacro-menu-marked ((,c :inherit modus-themes-mark-sel)))
     `(kmacro-menu-flagged ((,c :inherit modus-themes-mark-del)))
 ;;;;; ledger-mode

Reply via email to