diff options
| author | Mario Lang <mlang@delysid.org> | 2014-03-24 10:03:22 +0100 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2014-03-24 10:04:44 +0100 |
| commit | 0e811560c1a7f374ea1eccb878b0b64adf54675d (patch) | |
| tree | 364fc412cfa3afdcea05e4d5b404a29cad8e28bb /chess.el | |
| parent | 1c1607589eadf378812f1dbfd18b2826cf921db0 (diff) | |
Make engine searching work again.
Diffstat (limited to 'chess.el')
| -rw-r--r-- | chess.el | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -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) |
