summaryrefslogtreecommitdiff
path: root/chess-common.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-25 22:15:08 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-25 22:15:08 +0000
commit599cd3f6e4e44c5a8e2cf527d1ae72b33e9a8511 (patch)
treecc7b667bba7687bdf793eefebbb82db81a6266dc /chess-common.el
parent0fe55d3c807d535fab83a23fd00eea1e4708e25e (diff)
*** no comment ***
Diffstat (limited to 'chess-common.el')
-rw-r--r--chess-common.el4
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))))