summaryrefslogtreecommitdiff
path: root/chess.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess.el')
-rw-r--r--chess.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/chess.el b/chess.el
index 4d24771..da0a452 100644
--- a/chess.el
+++ b/chess.el
@@ -156,7 +156,9 @@ If an element of MODULE-LIST is a sublist, treat it as alternatives."
;; this module is actually a list, which means keep trying
;; until we find one that works
(while module
- (if (setq object (apply create-func (car module) args))
+ (if (setq object (condition-case nil
+ (apply create-func (car module) args)
+ ((error nil))))
(progn
(push object objects)
(setq module nil))
@@ -209,8 +211,8 @@ Otherwise use `chess-default-engine' to determine the engine."
'chess--create-engine game
engine-response-handler
engine-ctor-args)
- ;(error nil))
- ))
+ ; (error nil))
+ ))
objects)
(unless (car objects)