branch: master
commit c47a7dcd14e9090f27eba5ac0dd7f55bb9cc7770
Author: Oleh Krehel <ohwoeo...@gmail.com>
Commit: Oleh Krehel <ohwoeo...@gmail.com>

    ivy.el (ivy--filter): Don't cache if the result of matching cache is empty
---
 ivy.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ivy.el b/ivy.el
index fdf5389..4f7126a 100644
--- a/ivy.el
+++ b/ivy.el
@@ -3091,8 +3091,8 @@ CANDIDATES are assumed to be static."
                                      ivy--old-re)
                                    re)
                                   '(0 2))
-                            ivy--old-cands)
-                       (ivy--re-filter re ivy--old-cands))
+                            ivy--old-cands
+                            (ivy--re-filter re ivy--old-cands)))
                       (matcher
                        (funcall matcher re candidates))
                       (t

Reply via email to