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

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

[elpa] externals/beardbolt 62e68ea2d4 194/323: Fix overlays not working


From: ELPA Syncer
Subject: [elpa] externals/beardbolt 62e68ea2d4 194/323: Fix overlays not working on first compile with popup
Date: Thu, 9 Mar 2023 10:58:30 -0500 (EST)

branch: externals/beardbolt
commit 62e68ea2d48357cbd677002fcfee4aafe00b9d1e
Author: Jay Kamat <jaygkamat@gmail.com>
Commit: Jay Kamat <jaygkamat@gmail.com>

    Fix overlays not working on first compile with popup
---
 rmsbolt.el | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/rmsbolt.el b/rmsbolt.el
index 201110f79b..65cc861243 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -1350,9 +1350,12 @@ Argument OVERRIDE-BUFFER use this buffer instead of 
reading from the output file
                  (rmsbolt-mode 1)
                  (setq-local rmsbolt-src-buffer src-buffer)
                  (display-buffer (current-buffer))
-                 ;; Attempt to replace overlays
-                 (with-current-buffer src-buffer
-                   (rmsbolt-move-overlays)))))
+                 ;; Attempt to replace overlays.
+                 ;; TODO find a way to do this without a timer hack
+                 (run-with-timer rmsbolt-overlay-delay nil
+                                 (lambda ()
+                                   (with-current-buffer src-buffer
+                                     (rmsbolt-move-overlays)))))))
             ((and t
                   (not rmsbolt--automated-compile))
              ;; Display compilation output



reply via email to

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