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-engine.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chess-engine.el') diff --git a/chess-engine.el b/chess-engine.el index eb492f1..d0a9951 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -291,9 +291,9 @@ (defun chess-engine-destroy (engine) (let ((buf (or engine (current-buffer)))) (when (buffer-live-p buf) - (chess-engine-command buf 'destroy) (with-current-buffer buf (remove-hook 'kill-buffer-hook 'chess-engine-on-kill t)) + (chess-engine-command buf 'destroy) (kill-buffer buf)))) (defun chess-engine-command (engine event &rest args) -- cgit v1.2.3