summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-14 23:48:50 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-14 23:48:50 +0000
commite15c5ad70e32debce094a3c53caf875afb648338 (patch)
treedd9fae690a589921781943cfc05474ebf01dfb3d /chess-display.el
parent4f7271d9ea4f82eb316b05a54bac9030d1127c8e (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 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))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;