summaryrefslogtreecommitdiff
path: root/chess.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess.el')
-rw-r--r--chess.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/chess.el b/chess.el
index 7f42698..b0c9275 100644
--- a/chess.el
+++ b/chess.el
@@ -122,8 +122,9 @@ minibuffer, which works well for Emacspeak users."
(when (and engine-module
(require engine-module nil t))
(chess-engine-set-game (chess-engine-create engine-module) game)
- (if chess-announce-moves
- (chess-announce-for-game game t))))))
+ (when chess-announce-moves
+ (require 'chess-announce)
+ (chess-announce-for-game game t))))))
(cons display engine)))
;;;###autoload