branch: externals/beardbolt
commit 98e984493b2b73f7ffe850ba4be9b6a2f6b86f2a
Author: Jay Kamat <[email protected]>
Commit: Jay Kamat <[email protected]>
Prevent hot recompile on deleted buffers
---
rmsbolt.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/rmsbolt.el b/rmsbolt.el
index 5308969fbc..42dcd46262 100644
--- a/rmsbolt.el
+++ b/rmsbolt.el
@@ -1545,6 +1545,7 @@ Are you running two compilations at the same time?"))
(should-hot-recompile rmsbolt-automatic-recompile)
(output-buffer (get-buffer rmsbolt-output-buffer))
(src-buffer (buffer-local-value 'rmsbolt-src-buffer
output-buffer))
+ (src-buffer-live (buffer-live-p src-buffer))
(is-not-elisp (not (eq 'emacs-lisp-mode
(with-current-buffer src-buffer
major-mode))))