From 599cd3f6e4e44c5a8e2cf527d1ae72b33e9a8511 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 25 Apr 2002 22:15:08 +0000 Subject: *** no comment *** --- chess-common.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chess-common.el') diff --git a/chess-common.el b/chess-common.el index faef364..7f32eb4 100644 --- a/chess-common.el +++ b/chess-common.el @@ -67,7 +67,7 @@ ((eq event 'drawn) (chess-game-set-data game 'active nil)) - ((memq event '(resign abort)) + ((memq event '(resign abort new)) (chess-engine-send nil "new\n") (chess-engine-set-position nil)) @@ -77,7 +77,7 @@ (if (= 1 (mod (car args) 2)) (chess-engine-send nil "go\n")) - ;; prevent use from handling the `undo' event which this triggers + ;; prevent us from handling the `undo' event which this triggers (let ((chess-engine-handling-event t)) (chess-game-undo game (car args)))) -- cgit v1.2.3