From da58e86d8e2d128f0b2519b08593d79da83d0c73 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 24 Apr 2002 19:56:54 +0000 Subject: *** no comment *** --- chess-display.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chess-display.el') diff --git a/chess-display.el b/chess-display.el index 271d4b6..59699b4 100644 --- a/chess-display.el +++ b/chess-display.el @@ -559,7 +559,8 @@ The key bindings available in this mode are: (defsubst chess-display-active-p () "Return non-nil if the displayed chessboard reflects an active game. Basically, it means we are playing, not editing or reviewing." - (and (= chess-display-index + (and (chess-game-data chess-module-game 'active) + (= chess-display-index (chess-game-index chess-module-game)) (not (chess-game-over-p chess-module-game)) (not chess-display-edit-mode))) -- cgit v1.2.3