[Top][All Lists]

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

[elpa] externals/vertico a091a5a 3/3: vertico--candidate: Remove vertico

From: ELPA Syncer
Subject: [elpa] externals/vertico a091a5a 3/3: vertico--candidate: Remove vertico-current face
Date: Tue, 6 Jul 2021 13:57:17 -0400 (EDT)

branch: externals/vertico
commit a091a5a591d3c21dd45a390693f317e67541bfa8
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    vertico--candidate: Remove vertico-current face
 vertico.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/vertico.el b/vertico.el
index c3460d8..7dbe400 100644
--- a/vertico.el
+++ b/vertico.el
@@ -672,6 +672,7 @@ When the prefix argument is 0, the group order is reset."
 (defun vertico--candidate (&optional hl)
   "Return current candidate string with optional highlighting if HL is 
   (let ((content (minibuffer-contents)))
+    (vertico--add-face 'vertico-current 0 (length content) nil content)
     (if (>= vertico--index 0)
         (let ((cand (nth vertico--index vertico--candidates)))
           ;;; XXX Drop the completions-common-part face which is added by 

reply via email to

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