summaryrefslogtreecommitdiff
path: root/chess-engine.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-engine.el')
-rw-r--r--chess-engine.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-engine.el b/chess-engine.el
index 3621496..a618225 100644
--- a/chess-engine.el
+++ b/chess-engine.el
@@ -265,7 +265,7 @@
(unless (memq (process-status proc) '(run open))
(chess-error 'failed-engine-start))
(setq chess-engine-process proc)
- (when (not (equal (process-filter proc) 'comint-output-filter))
+ (unless (process-filter proc)
(set-process-filter proc 'chess-engine-filter)))
(setq chess-engine-current-marker (point-marker))
(current-buffer))))))