diff options
Diffstat (limited to 'chess-crafty.el')
| -rw-r--r-- | chess-crafty.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chess-crafty.el b/chess-crafty.el index 9c3924e..509f749 100644 --- a/chess-crafty.el +++ b/chess-crafty.el @@ -32,6 +32,10 @@ (lambda () (setq chess-crafty-evaluation (string-to-number (match-string 1)))))) + (cons "{\\(Black\\|White\\) resigns}" + (function + (lambda () + (funcall chess-engine-response-handler 'resign)))) (cons "\\(Illegal move\\|unrecognized/illegal command\\):\\s-*\\(.*\\)" (function (lambda () |
