branch: master
commit aa3c9c6b4f4489e56551bbb0561e62b8faf2f380
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>

    ivy.el: Fix arrows not working for ivy--regex-ignore-order
    
    Re #513
    Re #522
    Fixes #1159
---
 ivy.el | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/ivy.el b/ivy.el
index 9ff00b3..a496f00 100644
--- a/ivy.el
+++ b/ivy.el
@@ -2810,14 +2810,11 @@ RE-STR is the regexp, CANDS are the current candidates."
                               (eq ?^ (aref name 0)))
                          (substring name 1)
                        name) cands
-                       :test #'equal)
+                     :test #'equal)
         (and ivy--directory
              (cl-position
               (concat re-str "/") cands
               :test #'equal))
-        (and (eq caller 'ivy-switch-buffer)
-             (> (length name) 0)
-             0)
         (and (not (string= name ""))
              (not (and ivy--flx-featurep
                        (eq ivy--regex-function 'ivy--regex-fuzzy)

Reply via email to