diff --git a/ivy.el b/ivy.el index eb6cad4e..9bb5cad9 100644 --- a/ivy.el +++ b/ivy.el @@ -2465,6 +2465,8 @@ See `completion-in-region' for further information." (string= str (car comps)))) (message "Sole match")) (t + (when (eq collection #'crm--collection-fn) + (setq comps (delete-dups comps))) (let* ((len (ivy-completion-common-length (car comps))) (initial (cond ((= len 0) "")