diff options
Diffstat (limited to 'chess-module.el')
| -rw-r--r-- | chess-module.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chess-module.el b/chess-module.el index 59f51e6..d623d5b 100644 --- a/chess-module.el +++ b/chess-module.el @@ -88,8 +88,8 @@ (let ((buf (or module (current-buffer)))) (when (buffer-live-p buf) (with-current-buffer buf - (remove-hook 'kill-buffer-hook 'chess-module-destroy t)) - (chess-module-detach-game nil) + (remove-hook 'kill-buffer-hook 'chess-module-destroy t) + (chess-module-detach-game nil)) (kill-buffer buf)))) (defun chess-module-event-handler (game object event &rest args) |
