summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-10 01:21:36 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-10 01:21:36 +0000
commit1531a6902ff493adce1d2fe29dfcddcfa9de0ef0 (patch)
tree88ff84536618d92b591511395c06794c619275bf /chess-display.el
parent0bad9bdd7634f039d5a30cfb19b100bbfe54d18e (diff)
*** no comment ***
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el16
1 files changed, 8 insertions, 8 deletions
diff --git a/chess-display.el b/chess-display.el
index 92f25c7..4fe35de 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -112,14 +112,6 @@
(chess-display-update new-display t)
new-display))
-(defun chess-display-destroy (display)
- "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 nil)
- buf 'destroy)
- (kill-buffer buf))))
-
(defsubst chess-display-style (display)
(chess-with-current-buffer display
chess-display-style))
@@ -328,6 +320,14 @@ that is supported by most displays, and is the default mode."
(chess-with-current-buffer display
(setq chess-display-no-popup t)))
+(defun chess-display-destroy (display)
+ "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 nil)
+ buf 'destroy)
+ (kill-buffer buf))))
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;; Event handler