summaryrefslogtreecommitdiff
path: root/chess-pos.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-16 22:01:40 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-16 22:01:40 +0000
commit42d3479f1b83a50714f7cbc17925ac0201a55022 (patch)
tree3c1128dcd4a8b06db6674a2475b8c2b3866425f2 /chess-pos.el
parent7c74ccf902b4a63128ee11db1e138a4eadfb7fd7 (diff)
Report checkmate in the modeline correctly.
Diffstat (limited to 'chess-pos.el')
-rw-r--r--chess-pos.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-pos.el b/chess-pos.el
index 200fc97..ae12a93 100644
--- a/chess-pos.el
+++ b/chess-pos.el
@@ -132,7 +132,8 @@ SIDE must be either ?q or ?k (case determines color)."
(defsubst chess-pos-status (position)
"Return whether the side to move is in a special state.
-The symbols allowed are: `check', `checkmate', `stalemate'.
+The symbols allowed are: `check', `checkmate', `stalemate', which must
+occurs first if they occur at all.
Also, EPD evaluation numbers/strings can be set here."
(aref position 69))