Verified Commit 536a699d authored by Jay Kamat's avatar Jay Kamat 😠

Clean up overlays and mappings if compilation fails

parent 7c735240
Pipeline #98816321 passed with stage
in 32 seconds
......@@ -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))))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment