From 065d2cb10dacd02d998ea4313b7e1bc39192fa8d Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Wed, 28 Jan 2004 16:48:02 +0000 Subject: 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 --- chess.el | 8 +++++--- 1 file 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) -- cgit v1.2.3