[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 811ffddbab: Reformatting
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 811ffddbab: Reformatting |
Date: |
Wed, 6 Dec 2023 21:59:18 -0500 (EST) |
branch: externals/vertico
commit 811ffddbab07217b9319c402b199c4050d187afd
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Reformatting
---
vertico.el | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/vertico.el b/vertico.el
index a813984dde..c02b82c2df 100644
--- a/vertico.el
+++ b/vertico.el
@@ -481,9 +481,8 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and
PRED."
"Format group TITLE given the current CAND."
(when (string-prefix-p title cand)
;; Highlight title if title is a prefix of the candidate
- (setq title (substring (funcall vertico--hilit
- (propertize cand 'face
'vertico-group-title))
- 0 (length title)))
+ (setq cand (propertize cand 'face 'vertico-group-title)
+ title (substring (funcall vertico--hilit cand) 0 (length title)))
(vertico--remove-face 0 (length title) 'completions-first-difference
title))
(format (concat vertico-group-format "\n") title))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico 811ffddbab: Reformatting,
ELPA Syncer <=