summaryrefslogtreecommitdiff
path: root/chess-network.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-08-29 02:43:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-08-29 02:43:55 -0400
commit3187bd1eadb312b6f6d6e1bb9218f19346300e7d (patch)
treeeb3667d49ec27fc7036d23bd23ed839191a261d7 /chess-network.el
parent7e5230b8ffe32cfe7c1ec31d37c40684893aa787 (diff)
Several changes to fix byte-compile warnings, changed some iso-8859-1 encoded
files to UTF-8, and switched to using insert-file-contents instead of the -literally variant (which doesn't respect content encodings).
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 ea181fc..efc9d28 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -52,7 +52,7 @@
(function
(lambda ()
(funcall chess-engine-response-handler 'undo
- (string-to-int (match-string 1))))))
+ (string-to-number (match-string 1))))))
(cons "accept\\(\\s-+\\(.+\\)\\)?$"
(function
(lambda ()
@@ -120,7 +120,7 @@
(if (fboundp 'open-network-stream-server)
(open-network-stream-server "*chess-network*"
(current-buffer)
- (string-to-int
+ (string-to-number
(read-string "Port: ")))
(start-process "*chess-network*"
(current-buffer) "/usr/bin/nc"