branch: elpa/isl
commit 07c364413a4ad6b53ff955da42fc3f0ce1dfc223
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>

    Set overlay-end out of loop in isl-show-or-hide-context-lines
---
 isearch-light.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/isearch-light.el b/isearch-light.el
index c37ba1f734d..f5ec94d9df9 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -437,8 +437,8 @@ the initial position i.e. the position before launching 
`isl-search'."
               ov-end bol) 
           (save-excursion
             (goto-char (overlay-end (car isl--item-overlays)))
+            (setq ov-end (point))
             (while (not (eobp))
-              (setq ov-end (point))
               (forward-line (- isl-visible-context-lines))
               ;; Store position from n lines before
               ;; this overlay and bol and move to next overlay.

Reply via email to