branch: master
commit f0ec8508606c1518e46ff63f47d69da627f46964
Author: Oleh Krehel <[email protected]>
Commit: Oleh Krehel <[email protected]>
swiper.el (swiper-isearch): Fix for ivy-resume
Re #2154
---
swiper.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/swiper.el b/swiper.el
index 7eeefcf..d999309 100644
--- a/swiper.el
+++ b/swiper.el
@@ -1326,7 +1326,7 @@ See `ivy-format-functions-alist' for further information."
(match-beginning 0)
swiper--isearch-start-point))))
(eq mb-match 0))))
- (>= (match-beginning 0) swiper--isearch-start-point))
+ (>= (match-beginning 0) swiper--isearch-start-point))
(setq idx-found idx)))
(cl-incf idx)
(let ((pos (if (or swiper--isearch-backward
swiper-goto-start-of-match)
@@ -1513,11 +1513,11 @@ When not running `swiper-isearch' already, start it."
"A `swiper' that's not line-based."
(interactive)
(swiper--init)
+ (setq swiper--isearch-start-point (point))
(swiper-font-lock-ensure)
(let ((ivy-fixed-height-minibuffer t)
(cursor-in-non-selected-windows nil)
(swiper-min-highlight 1)
- (swiper--isearch-start-point (point))
res)
(unwind-protect
(and