Mercurial > emacs
changeset 95513:4b7c7fff9fd1
(flymake-process-filter): Make sure the source buffer isn't dead.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 03 Jun 2008 08:12:02 +0000 |
parents | 29ddd334019a |
children | ad40a2d6712f |
files | lisp/ChangeLog lisp/progmodes/flymake.el |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Jun 03 08:08:01 2008 +0000 +++ b/lisp/ChangeLog Tue Jun 03 08:12:02 2008 +0000 @@ -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,
--- a/lisp/progmodes/flymake.el Tue Jun 03 08:08:01 2008 +0000 +++ b/lisp/progmodes/flymake.el Tue Jun 03 08:12:02 2008 +0000 @@ -583,7 +583,7 @@ (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)))))