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

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

[elpa] externals/beardbolt 8544df3e9d 222/323: Use `rmsbolt--cleanup-ove


From: ELPA Syncer
Subject: [elpa] externals/beardbolt 8544df3e9d 222/323: Use `rmsbolt--cleanup-overlays`
Date: Thu, 9 Mar 2023 10:58:33 -0500 (EST)

branch: externals/beardbolt
commit 8544df3e9d8133a96970b3843075de7927e929b1
Author: Erik Arvstedt <erik.arvstedt@gmail.com>
Commit: Erik Arvstedt <erik.arvstedt@gmail.com>

    Use `rmsbolt--cleanup-overlays`
---
 rmsbolt.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/rmsbolt.el b/rmsbolt.el
index a5cb838358..449ddb5963 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -1660,9 +1660,8 @@ Are you running two compilations at the same time?"))
                   (cl-values (c-point 'bol) (c-point 'bonl))))))
         (let ((line-visible (not rmsbolt-goto-match))
               (src-buffer-selected (eq (current-buffer) src-buffer)))
-          ;; Clear out overlays in case they are used
-          (mapc #'delete-overlay rmsbolt-overlays)
-          (setq rmsbolt-overlays nil)
+          ;; Remove existing overlays
+          (rmsbolt--cleanup-overlays)
           (push (rmsbolt--setup-overlay (cl-first src-pts) (cl-second src-pts) 
src-buffer)
                 rmsbolt-overlays)
           (unless src-buffer-selected



reply via email to

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