From e4e34f49ae4d2f17e06687674d08822655c14a0f Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Mon, 24 Mar 2014 17:06:23 +0100 Subject: Rename chess-engine-sentinal to chess-engine-sentinel and simplify a bit. --- chess-engine.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'chess-engine.el') 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." -- cgit v1.2.3