[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 02/02: [gnugo int] Associate process w/ buffer immediately.
From: |
Thien-Thi Nguyen |
Subject: |
[elpa] 02/02: [gnugo int] Associate process w/ buffer immediately. |
Date: |
Sun, 09 Mar 2014 14:49:04 +0000 |
ttn pushed a commit to branch master
in repository elpa.
commit 39125c32b23f6d6e23da5791f0be1ba1533bd106
Author: Thien-Thi Nguyen <address@hidden>
Date: Sun Mar 9 15:52:46 2014 +0100
[gnugo int] Associate process w/ buffer immediately.
* packages/gnugo/gnugo.el (gnugo-board-mode):
...here, via ‘start-process’ 2nd arg BUFFER.
---
packages/gnugo/gnugo.el | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/packages/gnugo/gnugo.el b/packages/gnugo/gnugo.el
index a6c8594..0a4b345 100644
--- a/packages/gnugo/gnugo.el
+++ b/packages/gnugo/gnugo.el
@@ -1731,11 +1731,10 @@ In this mode, keys do not self insert.
(let ((proc-args (split-string args)))
(gnugo-put :proc-args proc-args)
(gnugo-put :proc (setq proc (apply 'start-process "gnugo"
- nil name
+ (current-buffer) name
"--mode" "gtp" "--quiet"
proc-args))))
(set-process-sentinel proc 'gnugo-sentinel)
- (set-process-buffer proc (current-buffer))
;; Emacs is too protective sometimes, blech.
(set-process-query-on-exit-flag proc nil)
(when (or minus-l infile)