Verified Commit c655e2af authored by Jay Kamat's avatar Jay Kamat 😠

Add check for dead buffers in compilation finish fn

parent 7045b811
Pipeline #93344933 passed with stage
in 38 seconds
......@@ -1276,6 +1276,8 @@ Argument ASM-LINES input lines."
Argument BUFFER compilation buffer.
Argument STR compilation finish status.
Argument OVERRIDE-BUFFER use this buffer instead of reading from the output filename."
(when (not (buffer-live-p buffer))
(error "Dead buffer passed to compilation-finish-function! RMSBolt cannot continue."))
(let ((compilation-fail
(and str
(not (string-match "^finished" str))))
......
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