branch: master commit 9c4cdb736ed95c3c5abd8e68da41e71fe1bb7162 Author: Oleh Krehel <ohwoeo...@gmail.com> Commit: Oleh Krehel <ohwoeo...@gmail.com>
swiper.el (swiper-isearch-action): Fix for ivy-occur This reverts commit b9f3e3b1c52a6630e1499cea7bab7f9cef4bb5c6. --- swiper.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/swiper.el b/swiper.el index da0f19c..96a36b5 100644 --- a/swiper.el +++ b/swiper.el @@ -1400,7 +1400,9 @@ that we search only for one character." (defun swiper-isearch-action (x) "Move to X for `swiper-isearch'." - (if (numberp x) + (if (or (numberp x) + (and (> (length x) 0) + (setq x (get-text-property 0 'point x)))) (with-ivy-window (goto-char x) (when (and (or (eq this-command 'ivy-previous-line-or-history)