diff options
Diffstat (limited to 'chess-common.el')
| -rw-r--r-- | chess-common.el | 4 |
1 files changed, 2 insertions, 2 deletions
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)))) |
