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

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

[elpa] master bc96feb 141/348: ivy.el (ivy--recompute-index): Update con


From: Oleh Krehel
Subject: [elpa] master bc96feb 141/348: ivy.el (ivy--recompute-index): Update condition
Date: Sat, 8 Apr 2017 11:03:44 -0400 (EDT)

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

    ivy.el (ivy--recompute-index): Update condition
---
 ivy.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ivy.el b/ivy.el
index 48dd39f..58071a5 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2481,9 +2481,8 @@ Prefer first \"^*NAME\", then \"^NAME\"."
                   (cl-position (nth ivy--index ivy--old-cands)
                                cands))
              (funcall func re-str cands))))
-    (when (and (or (string= name "")
-                   (string= name "^"))
-               (not (equal ivy--old-re "")))
+    (when (or (string= name "")
+              (string= name "^"))
       (setq ivy--index
             (or (ivy--preselect-index
                  (ivy-state-preselect ivy-last)



reply via email to

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