Skip to content

Commit

Permalink
Correct default-missing criterion
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Jul 5, 2021
1 parent 897e214 commit e30997d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vertico.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e30997d

Please sign in to comment.