From 709b56300a14f01053e4f484ba4b503d2eb65bb4 Mon Sep 17 00:00:00 2001 From: dickmao Date: Tue, 29 May 2018 01:03:24 -0400 Subject: avoid ask-promotion returning nil --- chess-game.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chess-game.el') 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)) -- cgit v1.2.3