(flymake-process-filter): Make sure the source buffer isn't dead.

This commit is contained in:
Stefan Monnier 2008-06-03 08:12:02 +00:00
parent a87c1daf65
commit 466a09b5f8
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2008-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/flymake.el (flymake-process-filter): Make sure the source
buffer isn't dead.
* obsolete/bg-mouse.el, obsolete/float.el, obsolete/hilit19.el,
* obsolete/lselect.el, obsolete/mlsupport.el, obsolete/ooutline.el,
* obsolete/profile.el, obsolete/rsz-mini.el, obsolete/uncompress.el,

View file

@ -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)))))