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

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

[elpa] externals/vertico 185f18587d 2/2: Expand comment


From: ELPA Syncer
Subject: [elpa] externals/vertico 185f18587d 2/2: Expand comment
Date: Tue, 20 Dec 2022 15:58:18 -0500 (EST)

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

    Expand comment
---
 vertico.el | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/vertico.el b/vertico.el
index e5499aff50..6562256ee6 100644
--- a/vertico.el
+++ b/vertico.el
@@ -358,11 +358,10 @@ 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.
-      ;; * For matching content, as long as the full content
-      ;;   after the boundary is empty, including content after point.
+      ;; Index computation: The prompt is selected if there are no candidates,
+      ;; if the default is missing from the candidate list and for matching
+      ;; input at the field end. The latter is important for directory 
selection
+      ;; when renaming files.
       (vertico--index . ,(or lock
                              (if (or def-missing (not all)
                                      (and (= (length vertico--base) (length 
content))



reply via email to

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