diff options
| author | Mario Lang <mlang@delysid.org> | 2014-03-24 17:06:23 +0100 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2014-03-24 17:06:23 +0100 |
| commit | e4e34f49ae4d2f17e06687674d08822655c14a0f (patch) | |
| tree | b91ad0d55b3151fd4adc1c8aeae731b948c90539 | |
| parent | d25f243d1647fed82e63de6e7adce8a9c54153bc (diff) | |
Rename chess-engine-sentinal to chess-engine-sentinel and simplify a bit.
| -rw-r--r-- | chess-engine.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/chess-engine.el b/chess-engine.el index ab2ac63..3007ac9 100644 --- a/chess-engine.el +++ b/chess-engine.el @@ -400,10 +400,8 @@ event handler can take care of the data." ;; Primary event handler ;; -(defun chess-engine-sentinal (proc event) - (when (buffer-live-p (process-buffer proc)) - (set-buffer (process-buffer proc)) - (chess-engine-destroy nil))) +(defun chess-engine-sentinel (proc event) + (chess-engine-destroy (process-buffer proc))) (defun chess-engine-filter (proc &optional string) "Filter for receiving text for an engine from an outside source." |
