summaryrefslogtreecommitdiff
path: root/chess.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-08 10:58:53 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-08 10:58:53 +0000
commit1d12432b65e42f2a74de16637ae75e190d7d29ad (patch)
treea8d98649c1740360a52ee83a73c20b2f22f4db98 /chess.el
parent3a56cbdb0873a58b2cdce7397832235f4b8b8c56 (diff)
*** no comment ***
Diffstat (limited to 'chess.el')
-rw-r--r--chess.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/chess.el b/chess.el
index db6cd86..e422629 100644
--- a/chess.el
+++ b/chess.el
@@ -110,9 +110,9 @@ a0 243
(intern (or (read-string "Engine module to play against: ")
"chess-none"))
chess-default-engine)))
- (when engine-module
- (require engine-module)
- (chess-engine-set-game (chess-engine-create engine-module) game)))))
+ (if (and engine-module
+ (require engine-module nil t))
+ (chess-engine-set-game (chess-engine-create engine-module) game)))))
(cons display engine)))
;;;###autoload