summaryrefslogtreecommitdiff
path: root/chess-common.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2014-03-24 10:03:22 +0100
committerMario Lang <mlang@delysid.org>2014-03-24 10:04:44 +0100
commit0e811560c1a7f374ea1eccb878b0b64adf54675d (patch)
tree364fc412cfa3afdcea05e4d5b404a29cad8e28bb /chess-common.el
parent1c1607589eadf378812f1dbfd18b2826cf921db0 (diff)
Make engine searching work again.
Diffstat (limited to 'chess-common.el')
-rw-r--r--chess-common.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess-common.el b/chess-common.el
index f32dcc5..0b258e4 100644
--- a/chess-common.el
+++ b/chess-common.el
@@ -40,7 +40,7 @@
(path (intern (concat "chess-" name "-path")))
proc)
(chess-message 'starting-engine name)
- (unless (boundp path)
+ (unless (and (boundp path) (symbol-value path))
(chess-error 'could-not-find-engine name path))
(setq proc (start-process (concat "chess-" name)
(current-buffer) (symbol-value path)))