summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chess-maint.el1
-rw-r--r--chess-pos.el3
2 files changed, 4 insertions, 0 deletions
diff --git a/chess-maint.el b/chess-maint.el
index cf0f629..0ce93bc 100644
--- a/chess-maint.el
+++ b/chess-maint.el
@@ -1,6 +1,7 @@
(add-to-list 'load-path ".")
(require 'cl)
+(require 'chess)
(defun chess-generate-texinfo-file ()
(require 'lispdoc)
diff --git a/chess-pos.el b/chess-pos.el
index 33f1aad..d24e206 100644
--- a/chess-pos.el
+++ b/chess-pos.el
@@ -228,6 +228,9 @@ color will do."
(push i found)))
found))
+(defsubst chess-pos-to-string (position &optional full)
+ (chess-pos-to-fen position full))
+
(defconst chess-pos-piece-values
'((?p . 1)
(?n . 3)