[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 207/255: robustly handle prematurely quitting process
From: |
Eric Schulte |
Subject: |
[elpa] 207/255: robustly handle prematurely quitting process |
Date: |
Sun, 16 Mar 2014 01:02:49 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit d064f8000888aecdc0e0b06e7c60f68091d62643
Author: Eric Schulte <address@hidden>
Date: Thu Jun 13 16:57:04 2013 -0600
robustly handle prematurely quitting process
---
back-ends/gnugo.el | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/back-ends/gnugo.el b/back-ends/gnugo.el
index 229f078..8d1b9d2 100644
--- a/back-ends/gnugo.el
+++ b/back-ends/gnugo.el
@@ -62,9 +62,10 @@
(defun gnugo-input-command (gnugo command)
"Pass COMMAND to the gnugo process running in the buffer of GNUGO."
(with-current-buffer (buffer gnugo)
- (goto-char (process-mark (get-buffer-process (current-buffer))))
- (insert command)
- (when (get-buffer-process (current-buffer)) (comint-send-input)))
+ (when (get-buffer-process (current-buffer))
+ (goto-char (process-mark (get-buffer-process (current-buffer))))
+ (insert command)
+ (comint-send-input)))
(gnugo-wait-for-output gnugo))
(defun gnugo-wait-for-output (gnugo)
- [elpa] 195/255: query backend for territory, (continued)
- [elpa] 195/255: query backend for territory, Eric Schulte, 2014/03/15
- [elpa] 201/255: print score after marking territory, Eric Schulte, 2014/03/15
- [elpa] 189/255: replace flet with cl-flet, Eric Schulte, 2014/03/15
- [elpa] 190/255: set level (mainly for playing GNUGO), Eric Schulte, 2014/03/15
- [elpa] 204/255: prefix external names with package name, Eric Schulte, 2014/03/15
- [elpa] 165/255: working on placing backgrounds behind pieces, Eric Schulte, 2014/03/15
- [elpa] 202/255: added interface function to view an SGF file, Eric Schulte, 2014/03/15
- [elpa] 205/255: update the README, Eric Schulte, 2014/03/15
- [elpa] 206/255: ensure prisoners are 0 at the start of a new game, Eric Schulte, 2014/03/15
- [elpa] 208/255: support for viewing lists in a buffer, Eric Schulte, 2014/03/15
- [elpa] 207/255: robustly handle prematurely quitting process,
Eric Schulte <=
- [elpa] 209/255: adding curry, rcurry and compose helpers, Eric Schulte, 2014/03/15
- [elpa] 213/255: include headers in width calculation, Eric Schulte, 2014/03/15
- [elpa] 215/255: smaller ldots, Eric Schulte, 2014/03/15
- [elpa] 200/255: refresh the go board, Eric Schulte, 2014/03/15
- [elpa] 214/255: refresh list every time the buffer changes size, Eric Schulte, 2014/03/15
- [elpa] 212/255: bug fix, wrong function name, Eric Schulte, 2014/03/15
- [elpa] 225/255: quit observing IGS game w/o closing connection, Eric Schulte, 2014/03/15
- [elpa] 171/255: bigger stones, Eric Schulte, 2014/03/15
- [elpa] 219/255: updated igs backend, Eric Schulte, 2014/03/15
- [elpa] 222/255: asynchronous IGS game listing, Eric Schulte, 2014/03/15