summaryrefslogtreecommitdiff
path: root/chess-gnuchess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-12 07:58:22 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-12 07:58:22 +0000
commite66b028def9af45cc545c973255df42c9b90cde1 (patch)
treeb4d7bf33b4aabfee075ff211e3da12456fbeaf70 /chess-gnuchess.el
parentcdba8a5aed3bd66e62f348a7064acece342bb68e (diff)
optimizations and bug fixes
Diffstat (limited to 'chess-gnuchess.el')
-rw-r--r--chess-gnuchess.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el
index ee5912b..8f08b3a 100644
--- a/chess-gnuchess.el
+++ b/chess-gnuchess.el
@@ -25,11 +25,11 @@
(function
(lambda ()
(funcall chess-engine-response-handler 'move
- (chess-engine-convert-algebraic (match-string 1))))))
+ (chess-engine-convert-algebraic (match-string 1) t)))))
(cons "Illegal move:"
(function
(lambda ()
- (signal 'chess-illegal "Illegal move"))))
+ (error "Illegal move"))))
(cons "Board is wrong!"
(function
(lambda ()