summaryrefslogtreecommitdiff
path: root/chess-game.el
diff options
context:
space:
mode:
authordickmao <rchiang@cs.stonybrook.edu>2018-05-29 01:03:24 -0400
committerdickmao <rchiang@cs.stonybrook.edu>2018-05-29 01:03:24 -0400
commit709b56300a14f01053e4f484ba4b503d2eb65bb4 (patch)
tree780a80de13b8667e1f758ba0c7e45c29664f3c78 /chess-game.el
parent999fcdd7f9c82c3ec2e8343c5de7b4dea53bf8d0 (diff)
avoid ask-promotion returning nil
Diffstat (limited to 'chess-game.el')
-rw-r--r--chess-game.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-game.el b/chess-game.el
index aace91b..ed38288 100644
--- a/chess-game.el
+++ b/chess-game.el
@@ -223,7 +223,7 @@ if INDEX is nil)."
(defun chess-game-ply (game &optional index)
"Return a ply of GAME.
-If INDEX is non-nil, the last played ply is returned."
+If INDEX is nil, the last played ply is returned."
(cl-assert game)
(if index
(nth index (chess-game-plies game))