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

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

[elpa] master 03b3f82 075/184: ivy.el (ivy-partial): Use ivy--filter in


From: Oleh Krehel
Subject: [elpa] master 03b3f82 075/184: ivy.el (ivy-partial): Use ivy--filter in place of all-completions
Date: Wed, 16 Oct 2019 13:14:52 -0400 (EDT)

branch: master
commit 03b3f82a9183ddf6a2a65d0835a68c401be97911
Author: Oleh Krehel <address@hidden>
Commit: Oleh Krehel <address@hidden>

    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))



reply via email to

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