eschulte pushed a commit to branch go
in repository elpa.

commit da1686441b6cfc8f665031ed6020be8d895b6f13
Author: Eric Schulte <[email protected]>
Date:   Sun May 19 12:28:35 2013 -0600

    don't commit if process already quit
---
 back-ends/gnugo.el |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/back-ends/gnugo.el b/back-ends/gnugo.el
index 3edb005..229f078 100644
--- a/back-ends/gnugo.el
+++ b/back-ends/gnugo.el
@@ -64,7 +64,7 @@
   (with-current-buffer (buffer gnugo)
     (goto-char (process-mark (get-buffer-process (current-buffer))))
     (insert command)
-    (comint-send-input))
+    (when (get-buffer-process (current-buffer)) (comint-send-input)))
   (gnugo-wait-for-output gnugo))
 
 (defun gnugo-wait-for-output (gnugo)

Reply via email to