summaryrefslogtreecommitdiff
path: root/chess-network.el
diff options
context:
space:
mode:
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: ")