summaryrefslogtreecommitdiff
path: root/chess-pos.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-10 21:00:28 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-10 21:00:28 +0000
commitfa6d9924972f0472c2f05d10d2909e20e8af7b4b (patch)
tree161356f33ae0e69d08bd78e285758a433ce1a650 /chess-pos.el
parent4bbb87f117c6afbf84d915c2829e9e873e5ab145 (diff)
*** no comment ***
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)