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

    Comment only
---
 isearch-light.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/isearch-light.el b/isearch-light.el
index d3ed32a9c60..b65dea7fc5f 100644
--- a/isearch-light.el
+++ b/isearch-light.el
@@ -214,6 +214,7 @@ It put overlay on current position, move to next overlay 
using
   (with-selected-window (minibuffer-selected-window)
     (isl--highlight-last-overlay 'isl-match)
     (when isl--iterator
+      ;; This is a noop when ARG==1 i.e. (1- 1) == 0.
       (cl-loop repeat (1- arg) do (isl-iter-next isl--iterator))
       (isl--goto-overlay (isl-iter-next isl--iterator)))
     (isl-setup-mode-line)))

Reply via email to