]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix previous fix for bug#70796
authorTassilo Horn <tsdh@gnu.org>
Fri, 24 May 2024 21:04:33 +0000 (23:04 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 26 May 2024 05:56:44 +0000 (07:56 +0200)
(cherry picked from commit f3dd0d981cbb9c0fa10a3c5b05b244ed7a0f4e6b)

lisp/progmodes/bug-reference.el

index 569de5a2b918326063d2f5d9b326800391dc95ea..4a691e5bf6775ba315afc58cc5c77fa40dce0f24 100644 (file)
@@ -196,10 +196,10 @@ subexpression 10."
                              (funcall bug-reference-url-format)))))))
       ;; Delete remaining but unused overlays.
       (dolist (ov overlays)
-        (delete-overlay ov)))
-    ;; Signal the bounds we actually fontified to jit-lock to allow for
-    ;; optimizations (bug#70796).
-    `(jit-lock-bounds ,beg-line . ,end-line)))
+        (delete-overlay ov))
+      ;; Signal the bounds we actually fontified to jit-lock to allow for
+      ;; optimizations (bug#70796).
+      `(jit-lock-bounds ,beg-line . ,end-line))))
 
 ;; Taken from button.el.
 (defun bug-reference-push-button (&optional pos _use-mouse-action)