summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2013-09-05 16:53:14 +0200
committerMario Lang <mlang@delysid.org>2013-09-05 16:53:14 +0200
commit4a73c7fbb3e232545ab43ab5b3163f658e794155 (patch)
treef14bb920ce1b3dca77234fd9a0a5babea7124189
parent15fa000db5cd6488591e194c1bbaf5f171181c15 (diff)
Load `cl' at compile time for `assert'.
-rw-r--r--chess-algebraic.el2
-rw-r--r--chess-fen.el2
2 files changed, 4 insertions, 0 deletions
diff --git a/chess-algebraic.el b/chess-algebraic.el
index e9145e7..1c6f895 100644
--- a/chess-algebraic.el
+++ b/chess-algebraic.el
@@ -32,6 +32,8 @@
;; chess-algebraic-regexp
;;
+(eval-when-compile (require 'cl))
+
(require 'chess-message)
(defconst chess-algebraic-pieces-regexp "[RNBKQ]")
diff --git a/chess-fen.el b/chess-fen.el
index 8117afb..00eacd6 100644
--- a/chess-fen.el
+++ b/chess-fen.el
@@ -37,6 +37,8 @@
;; relate to the game, not the position.
;;
+(eval-when-compile (require 'cl))
+
(defconst chess-fen-regexp
"^\\([bnrqkpBNRQKP1-8]*/?\\)+ [bw] \\(-\\|[KQkq]+\\) \\(-\\|[1-8]\\)")