summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-14 22:11:09 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-14 22:11:09 +0000
commit4aa1c73a2e77af7bcf1bd24837c9f07488068cdd (patch)
tree876d2531c88dbd12036f4f761e74e8cfe735a249 /chess-display.el
parentf7aafe3ea1629c434454ddb101af5b665314e208 (diff)
*** no comment ***
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-display.el b/chess-display.el
index 229a75a..432f959 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -81,7 +81,7 @@ makes moves, or any other changes to the underlying game."
(with-current-buffer (generate-new-buffer "*Chessboard*")
(setq buffer (current-buffer))
(chess-display-mode read-only)
- (when (funcall handler 'initialize)
+ (when (setq buffer (funcall handler 'initialize))
(add-hook 'kill-buffer-hook 'chess-display-quit nil t)
(setq chess-display-style style
chess-display-perspective perspective