[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vertico 565c4f8774 2/3: Shorter comment
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vertico 565c4f8774 2/3: Shorter comment |
Date: |
Sat, 17 Dec 2022 07:58:16 -0500 (EST) |
branch: externals/vertico
commit 565c4f87740b6b55b0e0e3ec6015cbad42369318
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Shorter comment
---
vertico.el | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/vertico.el b/vertico.el
index 2fba619690..b4c8d8bd1f 100644
--- a/vertico.el
+++ b/vertico.el
@@ -358,10 +358,9 @@ The function is configured by BY, BSIZE, BINDEX, BPRED and
PRED."
(vertico--lock-candidate . ,lock)
(vertico--groups . ,(cadr groups))
(vertico--all-groups . ,(or (caddr groups) vertico--all-groups))
- ;; Compute new index. Select the prompt under these conditions:
- ;; * If there are no candidates
- ;; * If the default is missing from the candidate list.
- (vertico--index . ,(or lock (if (or def-missing (not all) -1 0)))))))
+ ;; Compute new index. Select the prompt if there are no candidates or if
+ ;; the default is missing from the candidate list.
+ (vertico--index . ,(or lock (if (or def-missing (not all)) -1 0))))))
(defun vertico--cycle (list n)
"Rotate LIST to position N."