branch: elpa/isl
commit 717df285f8a21fa519c9e7591f8548551b869520
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Fix exit fn jumping one line too far
---
isl.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/isl.el b/isl.el
index 6b024992412..fa68a3b3cc2 100644
--- a/isl.el
+++ b/isl.el
@@ -374,7 +374,9 @@ It put overlay on current position, move to next overlay
using
(interactive)
(with-selected-window (minibuffer-selected-window)
;; Ensure user haven't scrolled to another place.
- (goto-char (overlay-end isl--last-overlay))
+ (let ((end (overlay-end isl--last-overlay)))
+ (goto-char (if isl-multi-search-in-line
+ (1- end) end)))
(when isl-multi-search-in-line
(let* ((ovs (overlays-in (point-at-bol) (point-at-eol)))
(matches (cl-loop for ov in ovs