[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 0df38cf: vertico--recompute-candidates: Minor s
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 0df38cf: vertico--recompute-candidates: Minor simplification |
Date: |
Wed, 3 Nov 2021 07:57:34 -0400 (EDT) |
branch: externals/vertico
commit 0df38cf1d7290d1be86ee9164a274cca0c306e03
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
vertico--recompute-candidates: Minor simplification
---
vertico.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/vertico.el b/vertico.el
index 47aee8a..296a62e 100644
--- a/vertico.el
+++ b/vertico.el
@@ -351,8 +351,7 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and
PRED."
(when completing-file
(setq all (vertico--filter-files all)))
;; Sort using the `display-sort-function' or the Vertico sort functions
- (unless (memq sort '(nil identity))
- (setq all (funcall sort all)))
+ (when sort (setq all (funcall sort all)))
;; Move special candidates: "field" appears at the top, before "field/",
before default value
(when (stringp def)
(setq all (vertico--move-to-front def all)))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/vertico 0df38cf: vertico--recompute-candidates: Minor simplification,
ELPA Syncer <=