aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/flymake.el
diff options
context:
space:
mode:
authorStefan Monnier <[email protected]>2008-06-03 08:12:02 +0000
committerStefan Monnier <[email protected]>2008-06-03 08:12:02 +0000
commit466a09b5f802faabcc488b13d98ab2ef030ea6db (patch)
treed40e618e6883393b03c8b70bb51bc966a4a61f5b /lisp/progmodes/flymake.el
parenta87c1daf657350ebae2cc9935d10dacde0b6f00a (diff)
(flymake-process-filter): Make sure the source buffer isn't dead.
Diffstat (limited to 'lisp/progmodes/flymake.el')
-rw-r--r--lisp/progmodes/flymake.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index c6c58ef76d..b6e71b0a5d 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -583,7 +583,7 @@ It's flymake process filter."
(flymake-log 3 "received %d byte(s) of output from process %d"
(length output) (process-id process))
- (when source-buffer
+ (when (buffer-live-p source-buffer)
(with-current-buffer source-buffer
(flymake-parse-output-and-residual output)))))