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

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

[elpa] externals/beardbolt 536a699d1f 193/323: Clean up overlays and map


From: ELPA Syncer
Subject: [elpa] externals/beardbolt 536a699d1f 193/323: Clean up overlays and mappings if compilation fails
Date: Thu, 9 Mar 2023 10:58:30 -0500 (EST)

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

    Clean up overlays and mappings if compilation fails
---
 rmsbolt.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/rmsbolt.el b/rmsbolt.el
index 9df5dc4984..201110f79b 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -1356,7 +1356,11 @@ Argument OVERRIDE-BUFFER use this buffer instead of 
reading from the output file
             ((and t
                   (not rmsbolt--automated-compile))
              ;; Display compilation output
-             (display-buffer buffer)))
+             (display-buffer buffer)
+             ;; TODO find a cleaner way to disable overlays.
+             (with-current-buffer src-buffer
+               (setq-local rmsbolt-line-mapping nil))
+             (rmsbolt--cleanup-overlays)))
       ;; Reset automated recompile
       (setq rmsbolt--automated-compile nil))))
 



reply via email to

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