aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/progmodes/elisp-mode.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 4207edb8af5..c3e73767f90 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -1699,9 +1699,11 @@ current buffer state and calls REPORT-FN when done."
1699 (when (eq (process-status proc) 'exit) 1699 (when (eq (process-status proc) 'exit)
1700 (unwind-protect 1700 (unwind-protect
1701 (cond 1701 (cond
1702 ((not (eq proc (with-current-buffer source-buffer 1702 ((not (and (buffer-live-p source-buffer)
1703 elisp-flymake--byte-compile-process))) 1703 (eq proc (with-current-buffer source-buffer
1704 (flymake-log :warning "byte-compile process %s obsolete" proc)) 1704 elisp-flymake--byte-compile-process))))
1705 (flymake-log :warning
1706 "byte-compile process %s obsolete" proc))
1705 ((zerop (process-exit-status proc)) 1707 ((zerop (process-exit-status proc))
1706 (elisp-flymake--byte-compile-done report-fn 1708 (elisp-flymake--byte-compile-done report-fn
1707 source-buffer 1709 source-buffer