summaryrefslogtreecommitdiff
path: root/chess-crafty.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-crafty.el')
-rw-r--r--chess-crafty.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-crafty.el b/chess-crafty.el
index 6e0d733..72b866e 100644
--- a/chess-crafty.el
+++ b/chess-crafty.el
@@ -24,11 +24,11 @@
(function
(lambda ()
(funcall chess-engine-response-handler 'move
- (chess-engine-convert-algebraic (match-string 2))))))
+ (chess-engine-convert-algebraic (match-string 2) t)))))
(cons "\\(Illegal move\\|unrecognized/illegal command\\):\\s-*\\(.*\\)"
(function
(lambda ()
- (signal 'chess-illegal (match-string 1)))))))
+ (error (match-string 1)))))))
(defun chess-crafty-handler (event &rest args)
(cond