summaryrefslogtreecommitdiff
path: root/chess-network.el
diff options
context:
space:
mode:
authordickmao <dick.r.chiang@gmail.com>2018-08-27 17:00:35 -0400
committerdickmao <dick.r.chiang@gmail.com>2018-09-06 09:24:10 -0400
commit3222b53d942daa404852e5148ba9d3ebb8fe96d0 (patch)
tree37e2af6242423e57adbbc1238433f58c92ac9bd0 /chess-network.el
parent67339d896aa65d75272b80134a8128276c8c6a0f (diff)
Pre-moves
To activate, look for Chess Display Allow Pre Moves in: M-x customize-group chess-display Tested via: make test make test24 (requires evim)
Diffstat (limited to 'chess-network.el')
-rw-r--r--chess-network.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-network.el b/chess-network.el
index a5f3ef4..493198b 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -34,7 +34,7 @@
(cons "chess match\\(\\s-+\\(.+\\)\\)?$"
(function
(lambda ()
- (funcall chess-engine-response-handler 'match
+ (funcall chess-engine-response-handler 'match
(match-string 2)))))
(cons "fen\\s-+\\(.+\\)"
(function
@@ -143,7 +143,7 @@
(string-to-number
(read-string "Port: ")))
(start-process "*chess-network*"
- (current-buffer) "/usr/bin/nc"
+ (current-buffer) (executable-find "nc")
"-l" "-p" (read-string "Port: ")))
(open-network-stream "*chess-network*" (current-buffer)
(read-string "Host: ")