From e15c5ad70e32debce094a3c53caf875afb648338 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 14 Apr 2002 23:48:50 +0000 Subject: *** no comment *** --- chess-display.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chess-display.el') 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)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- cgit v1.2.3