diff options
| author | John Wiegley <johnw@newartisans.com> | 2002-04-08 07:41:57 +0000 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2002-04-08 07:41:57 +0000 |
| commit | b81694cba75b72dd0ab63c05c5bab6519c23f4dc (patch) | |
| tree | 4dd05eecd52ef03b5f8d60ddff282dc3fc1bc2aa /chess.el | |
| parent | 4d85f396891a7394540e7937d62820e55a51d068 (diff) | |
*** no comment ***
Diffstat (limited to 'chess.el')
| -rw-r--r-- | chess.el | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -107,10 +107,12 @@ a0 243 (chess-display-create chess-default-display t) game) (let ((engine-module (if arg - (intern-soft (read-string "Engine module to play against: ")) + (intern (or (read-string "Engine module to play against: ") + "chess-none")) chess-default-engine))) - (require engine-module) - (chess-engine-set-game (chess-engine-create engine-module) game)))) + (when engine-module + (require engine-module) + (chess-engine-set-game (chess-engine-create engine-module) game))))) (cons display engine))) ;;;###autoload |
