summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/chess-display.el b/chess-display.el
index f45429e..ed94ae5 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -98,6 +98,7 @@
"Destroy a chess display object, killing all of its buffers."
(let ((buf (or display (current-buffer))))
(when (buffer-live-p buf)
+ (funcall chess-display-event-handler 'destroy)
(chess-display-detach-game display)
(kill-buffer buf))))