summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-28 16:48:02 +0000
committerMario Lang <mlang@delysid.org>2004-01-28 16:48:02 +0000
commit065d2cb10dacd02d998ea4313b7e1bc39192fa8d (patch)
treedbfc271345bcb878897fea8fd9c41166497a2a80
parent62bedefb8df984064cbef4afbe2c9551522e07a5 (diff)
temporarily disable the condition-case in the main startup function, some strange engine errors are caught and hard to debug with this, also add chess-opening and chess-ai to the default modules
-rw-r--r--chess.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/chess.el b/chess.el
index 2f451b3..04d81c2 100644
--- a/chess.el
+++ b/chess.el
@@ -96,6 +96,7 @@ not available."
'((chess-sound chess-announce)
chess-autosave
chess-clock
+ chess-opening
;;chess-kibitz jww (2002-04-30): not fully supported yet
;;chess-chat
)
@@ -107,7 +108,7 @@ These can do just about anything."
:group 'chess)
(defcustom chess-default-engine
- '(chess-crafty chess-gnuchess chess-phalanx)
+ '(chess-crafty chess-gnuchess chess-phalanx chess-ai)
"Default engine to be used when starting a chess session.
A list indicates a series of alternatives if the first engine is not
available."
@@ -195,12 +196,13 @@ If an element of MODULE-LIST is a sublist, treat it as alternatives."
'chess-module-create game))
(push (unless (eq engine 'none)
- (car (condition-case nil
+ (car ;(condition-case nil
(chess-create-modules (list (or engine chess-default-engine))
'chess--create-engine game
engine-response-handler
engine-ctor-args)
- (error nil))))
+ ;(error nil))
+ ))
objects)
(unless (car objects)