summaryrefslogtreecommitdiff
path: root/chess-display.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-display.el')
-rw-r--r--chess-display.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/chess-display.el b/chess-display.el
index 85eac1b..24a4638 100644
--- a/chess-display.el
+++ b/chess-display.el
@@ -485,6 +485,7 @@ Basically, it means we are playing, not editing or reviewing."
(defun chess-display-shuffle ()
"Generate a shuffled opening position."
(interactive)
+ (require 'chess-random)
(if (and (chess-display-active-p)
(= 0 (chess-display-index nil)))
(chess-game-set-start-position chess-display-game