diff options
Diffstat (limited to 'chess-display.el')
| -rw-r--r-- | chess-display.el | 2 |
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 |
