branch: elpa/isl
commit a1a162cac6c2fd9e7d8b8e55c983406dcb392413
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Add comment
---
isl.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/isl.el b/isl.el
index 10d54c731d2..fde5405730a 100644
--- a/isl.el
+++ b/isl.el
@@ -432,6 +432,8 @@ It put overlay on current position, move to next overlay
using
(overlay-put ov 'face 'isl-line)
(sit-for 0.2)
(delete-overlay ov))
+ ;; Save `window-start' position before exiting minibuffer and
+ ;; restore it after in `isl-cleanup' to avoid a moving screen.
(setq isl--window-start (window-start)))
;; Call `exit-minibuffer' out of the `with-selected-window' block to
;; avoid error with the emacs-28 version.