diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-10 00:31:47 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-10 00:31:47 +0000 |
| commit | 92dd9a7cb23d4ab14102e02a9f45f096fe8fff13 (patch) | |
| tree | e90d654ba627ed6c2f9da694520193cf8cc6dc32 /chess-engine.el | |
| parent | 3b72d987a9dfb01d9226b88d86dedf10fea67fed (diff) | |
handle display cloning
Diffstat (limited to 'chess-engine.el')
| -rw-r--r-- | chess-engine.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el index 77cca30..b4249fe 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -192,7 +192,8 @@ (chess-with-current-buffer engine (if chess-engine-game (chess-game-remove-hook chess-engine-game - 'chess-engine-event-handler)))) + 'chess-engine-event-handler + (or engine (current-buffer)))))) (defun chess-engine-game (engine) (chess-with-current-buffer engine |
