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

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

[elpa] externals/vertico e30997d: Correct default-missing criterion


From: ELPA Syncer
Subject: [elpa] externals/vertico e30997d: Correct default-missing criterion
Date: Mon, 5 Jul 2021 14:57:16 -0400 (EDT)

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

    Correct default-missing criterion
---
 vertico.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vertico.el b/vertico.el
index e83a9f6..f063a28 100644
--- a/vertico.el
+++ b/vertico.el
@@ -312,7 +312,7 @@ See `resize-mini-windows' for documentation."
       (setq groups (vertico--group-by group-fun all) all (car groups)))
     (list base (length all)
           ;; Default value is missing from collection
-          (and def (= pt 0) (not (member def all)))
+          (and def (equal content "") (not (member def all)))
           ;; Find position of old candidate in the new list.
           (when vertico--lock-candidate
             (if (< vertico--index 0)



reply via email to

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