branch: elpa/eglot-inactive-regions
commit 566c736f22c5a32a988e38d2b151b50aa914b7ec
Author: Filippo Argiolas <filippo.argio...@gmail.com>
Commit: Filippo Argiolas <filippo.argio...@gmail.com>

    properly advance overlay start position
---
 eglot-inactive-regions.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/eglot-inactive-regions.el b/eglot-inactive-regions.el
index 72c3abe4e4..553e28b5d2 100644
--- a/eglot-inactive-regions.el
+++ b/eglot-inactive-regions.el
@@ -245,9 +245,9 @@ If the correspondend \"eglot-inactive\" face doesn't not 
exist yet create it."
                        (eglot-inactive-face 
(eglot-inactive-regions--make-darken-face cur-face))
                        (ov (make-overlay beg (point))))
                   (overlay-put ov 'face eglot-inactive-face)
-                  (push ov eglot-inactive-regions--overlays)))
-              (setq beg (point)))))
-          (setq start to)))))
+                  (push ov eglot-inactive-regions--overlays))
+                (setq beg (point))))))
+        (setq start to)))))
 
 (defun eglot-inactive-regions-refresh ()
   "Force a refresh of known inactive regions.

Reply via email to