From b95fa9f2840a8006b149e5a957228c91d3284dcf Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 11 Apr 2002 01:32:26 +0000 Subject: *** no comment *** --- chess-engine.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/chess-engine.el b/chess-engine.el index 6cb3106..7768bad 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -206,7 +206,7 @@ (when game (if (y-or-n-p "Your opponent offers a draw, accept? ") (progn - (chess-game-draw game (car args)) + (chess-game-draw game) (chess-engine-command nil 'accept-draw) (chess-game-set-data game 'active nil)) (chess-engine-command nil 'decline-draw)) @@ -215,7 +215,7 @@ ((eq event 'accept-draw) (when game (message "Your draw offer was accepted") - (chess-game-draw game (car args)) + (chess-game-draw game) (chess-game-set-data game 'active nil) t)) @@ -246,7 +246,7 @@ (defun chess-engine-on-kill () "Function called when the buffer is killed." - (chess-engine-command (current-buffer) 'shutdown)) + (chess-engine-command nil 'shutdown)) (defun chess-engine-destroy (engine) (let ((buf (or engine (current-buffer)))) -- cgit v1.2.3