diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-14 23:48:50 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-14 23:48:50 +0000 |
| commit | e15c5ad70e32debce094a3c53caf875afb648338 (patch) | |
| tree | dd9fae690a589921781943cfc05474ebf01dfb3d /chess-engine.el | |
| parent | 4f7271d9ea4f82eb316b05a54bac9030d1127c8e (diff) | |
*** no comment ***
Diffstat (limited to 'chess-engine.el')
| -rw-r--r-- | chess-engine.el | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
