branch: master commit 03b3f82a9183ddf6a2a65d0835a68c401be97911 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
ivy.el (ivy-partial): Use ivy--filter in place of all-completions Fixes #2199 --- ivy.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ivy.el b/ivy.el index 5307cab..9674168 100644 --- a/ivy.el +++ b/ivy.el @@ -1141,7 +1141,7 @@ If the text hasn't changed as a result, forward to `ivy-alt-done'." (when (and (eq (ivy-state-collection ivy-last) #'read-file-name-internal) (= 1 (length - (all-completions ivy-text ivy--all-candidates))) + (ivy--filter ivy-text ivy--all-candidates))) (let ((default-directory ivy--directory)) (file-directory-p (ivy-state-current ivy-last)))) (ivy--directory-done))