summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el
index 23938fe..c90f180 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -462,8 +462,10 @@ See `chess-display-type' for the different kinds of displays."
(if (eq event 'move)
(progn
(chess-display-paint-move nil (car args))
- (chess-display-popup nil))
- (chess-display-update nil t)))
+ (if (and chess-display-popup
+ (not chess-display-no-popup))
+ (chess-display-popup nil)))
+ (chess-display-update nil chess-display-popup)))
(if (memq event chess-display-interesting-events)
(chess-display-update nil))))))