emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/modus-themes 105ee4a5a6: Make sure the annotation funct


From: ELPA Syncer
Subject: [elpa] externals/modus-themes 105ee4a5a6: Make sure the annotation function sets the 'completions-annotations' face
Date: Sat, 13 Jan 2024 06:58:24 -0500 (EST)

branch: externals/modus-themes
commit 105ee4a5a6f9fc8cc3ce994a1c02a8575074cb43
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Make sure the annotation function sets the 'completions-annotations' face
    
    I remmeber this used to work (?) at some point, but not anymore with
    my current build of Emacs. I will test again, but this seems innocuous
    anyway.
---
 modus-themes.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/modus-themes.el b/modus-themes.el
index 57a676ee91..d952981b9e 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -1211,7 +1211,9 @@ symbol, which is safe when used as a face attribute's 
value."
   "Return completion annotation for THEME."
   (when-let ((symbol (intern-soft theme))
              (doc-string (get symbol 'theme-documentation)))
-    (format " -- %s" (car (split-string doc-string "\\.")))))
+    (format " -- %s"
+            (propertize (car (split-string doc-string "\\."))
+                        'face 'completions-annotations))))
 
 (defun modus-themes--completion-table (category candidates)
   "Pass appropriate metadata CATEGORY to completion CANDIDATES."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]