summaryrefslogtreecommitdiff
path: root/chess.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess.el')
-rw-r--r--chess.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/chess.el b/chess.el
index c789d05..1f9654e 100644
--- a/chess.el
+++ b/chess.el
@@ -129,8 +129,10 @@ minibuffer, which works well for Emacspeak users."
(chess-display-set-main display)
(let ((engine-module
(if arg
- (intern (or (read-string "Engine module to play against: ")
- "chess-none"))
+ (intern
+ (or (concat "chess-"
+ (read-string "Engine module to play against: "))
+ "chess-none"))
chess-default-engine)))
(let ((engine-module (or engine chess-default-engine)))
(let ((engine (chess-engine-create engine-module)))