Skip to content

Commit

Permalink
Rename chess-engine-sentinal to chess-engine-sentinel and simplify a …
Browse files Browse the repository at this point in the history
…bit.
  • Loading branch information
mlang committed Mar 24, 2014
1 parent d25f243 commit e4e34f4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions chess-engine.el
Expand Up @@ -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."
Expand Down

0 comments on commit e4e34f4

Please sign in to comment.