summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-17 00:54:07 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-17 00:54:07 +0000
commit0ea5de2806cede48cd1dcbb509f84853407bfc91 (patch)
tree740eeb599194476f8a61d99cee2ba36ab7946bf4
parent60422a39cde50972f6f73e2b55b35fdb446e74fd (diff)
Paint moves before they are applied. Otherwise, there could be a
slowdown in transmitting the move to the other listening modules.
-rw-r--r--chess-display.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-display.el b/chess-display.el
index 5c80f62..0c4c262 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -265,9 +265,9 @@ If only START is given, it must be in algebraic move notation."
;; game, or alter the game, just as SCID allows
(if (= chess-display-index (chess-game-index chess-module-game))
(let ((chess-display-handling-event t))
+ (chess-display-paint-move nil ply)
(chess-game-move chess-module-game ply))
- (error "What to do here?? NYI"))
- (chess-display-paint-move nil ply)))
+ (error "What to do here?? NYI"))))
(defun chess-display-highlight (display &rest args)
"Highlight the square at INDEX on the current position.