From 1d12432b65e42f2a74de16637ae75e190d7d29ad Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 8 Apr 2002 10:58:53 +0000 Subject: *** no comment *** --- chess.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chess.el') 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 -- cgit v1.2.3