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 76a2fa6..838e67d 100644 --- a/chess-display.el +++ b/chess-display.el @@ -292,9 +292,9 @@ that is supported by most displays, and is the default mode." "Destroy a chess display object, killing all of its buffers." (let ((buf (or display (current-buffer)))) (when (buffer-live-p buf) - (chess-display-event-handler chess-display-game buf 'destroy) (with-current-buffer buf (remove-hook 'kill-buffer-hook 'chess-display-quit t)) + (chess-display-event-handler chess-display-game buf 'destroy) (kill-buffer buf)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
