summaryrefslogtreecommitdiff
path: root/chess-pos.el
diff options
context:
space:
mode:
Diffstat (limited to 'chess-pos.el')
-rw-r--r--chess-pos.el3
1 files changed, 3 insertions, 0 deletions
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)