]> code.delx.au - gnu-emacs-elpa/commit
Try to fix 045a93cb98dfd320e756ea9d9799ea92f0900bc6 a different way.
authorMario Lang <mlang@delysid.org>
Sun, 30 Mar 2014 18:08:21 +0000 (20:08 +0200)
committerMario Lang <mlang@delysid.org>
Sun, 30 Mar 2014 18:08:21 +0000 (20:08 +0200)
commit3d1c9876ab4afbde2f73819269c157389563fb0f
tree94b9da754e52de9ee17c38d2e5bb48c2b756f8dd
parent0d02c90b1ff556c7e86330f34af05a39f6faed32
Try to fix 045a93cb98dfd320e756ea9d9799ea92f0900bc6 a different way.

Restore the old behaviour (run game hooks before painting move),
but move the post-move hook from chess-game-move to chess-display-move.

This fixes the reentrancy bug while preserving error checks being done in
the game hooks.

Maybe rename post-move to post-display-move?
chess-display.el
chess-game.el