branch: externals/swiper
commit b9f3f5b39ec21f6c0283cf348c73ab1234ccb11e
Merge: f326541315 8bf8027e4b
Author: Basil L. Contovounesios <[email protected]>
Commit: Basil L. Contovounesios <[email protected]>

    Merge branch 'master' into externals/swiper
---
 swiper.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/swiper.el b/swiper.el
index f3bebab854..ba9ed6b9c6 100644
--- a/swiper.el
+++ b/swiper.el
@@ -816,7 +816,7 @@ When non-nil, INITIAL-INPUT is the initial search pattern."
                    (if initial-input
                        (cl-position-if
                         (lambda (x)
-                          (= (1+ preselect) (swiper--line-number x)))
+                          (<= (1+ preselect) (swiper--line-number x)))
                         (progn
                           (setq ivy--old-re nil)
                           (ivy--filter initial-input candidates)))

Reply via email to