emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 187/255: don't commit if process already quit


From: Eric Schulte
Subject: [elpa] 187/255: don't commit if process already quit
Date: Sun, 16 Mar 2014 01:02:45 +0000

eschulte pushed a commit to branch go
in repository elpa.

commit da1686441b6cfc8f665031ed6020be8d895b6f13
Author: Eric Schulte <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]