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

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

[elpa] master f52b0ac 175/399: ivy.el (ivy--filter): Don't cache if ivy-


From: Oleh Krehel
Subject: [elpa] master f52b0ac 175/399: ivy.el (ivy--filter): Don't cache if ivy--old-cands is empty
Date: Sat, 20 Jul 2019 14:57:18 -0400 (EDT)

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

    ivy.el (ivy--filter): Don't cache if ivy--old-cands is empty
    
    Fixes the `counsel-find-file' use case where dotfiles appear if there
    are no other matches.
---
 ivy.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ivy.el b/ivy.el
index 5dc89d9..fdf5389 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3090,7 +3090,8 @@ CANDIDATES are assumed to be static."
                                        (substring ivy--old-re 0 -2)
                                      ivy--old-re)
                                    re)
-                                  '(0 2)))
+                                  '(0 2))
+                            ivy--old-cands)
                        (ivy--re-filter re ivy--old-cands))
                       (matcher
                        (funcall matcher re candidates))



reply via email to

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