branch: elpa/isl
commit ae9f31524d19d328de078beaebcb9e42a514af78
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Use overlay-start in isl-bm-this-pos
---
isl.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/isl.el b/isl.el
index b6532fbc0aa..de9f9ad97a3 100644
--- a/isl.el
+++ b/isl.el
@@ -282,7 +282,8 @@ Need to have the `bm' package installed."
(with-selected-window (minibuffer-selected-window)
(when isl--last-overlay
(save-excursion
- (goto-char (overlay-end isl--last-overlay))
+ ;; Use overlay-start otherwise with inline we are one line too far.
+ (goto-char (overlay-start isl--last-overlay))
(bm-toggle)))))
(defun isl--highlight-last-overlay (face)