emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/jit-spell dc58b579d4 2/2: Fix wrong nesting


From: ELPA Syncer
Subject: [elpa] externals/jit-spell dc58b579d4 2/2: Fix wrong nesting
Date: Thu, 9 Mar 2023 07:58:28 -0500 (EST)

branch: externals/jit-spell
commit dc58b579d4d074bb7b1f5ff2f4f8a5150cc31b8d
Author: Augusto Stoffel <arstoffel@gmail.com>
Commit: Augusto Stoffel <arstoffel@gmail.com>

    Fix wrong nesting
---
 jit-spell.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jit-spell.el b/jit-spell.el
index fbbd1a499a..8e4e2288e4 100644
--- a/jit-spell.el
+++ b/jit-spell.el
@@ -218,8 +218,8 @@ to END coming first."
   (pcase-dolist (`(,i . ,j) gaps)
     (dolist (ov (overlays-in j end))
       (when (eq 'jit-spell (overlay-get ov 'category))
-        (delete-overlay ov))
-      (setq end i)))
+        (delete-overlay ov)))
+    (setq end i))
   (dolist (ov (overlays-in start end))
     (when (eq 'jit-spell (overlay-get ov 'category))
       (delete-overlay ov))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]