diff options
| author | Mario Lang <mlang@delysid.org> | 2014-05-20 03:25:59 +0200 |
|---|---|---|
| committer | Mario Lang <mlang@delysid.org> | 2014-05-20 03:25:59 +0200 |
| commit | 8f0f2044b5445722aff29a0c58461a794564f13a (patch) | |
| tree | 0b2a8af14062b02a16e439125c8738cbcea67765 /chess-crafty.el | |
| parent | 940fce2ade6a25bf4462330f2feea8ef5a39906f (diff) | |
Eliminate the circular dependency between chess-pos and chess-fen.
We remove functions chess-pos-to-string and chess-pos-from-string which
are really just aliases for chess-fen-to-pos and chess-pos-to-fen.
Diffstat (limited to 'chess-crafty.el')
| -rw-r--r-- | chess-crafty.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-crafty.el b/chess-crafty.el index ddd0cf1..11245b6 100644 --- a/chess-crafty.el +++ b/chess-crafty.el @@ -22,6 +22,7 @@ ;;; Code: (require 'chess-common) +(require 'chess-fen) (require 'chess-var) (defgroup chess-crafty nil @@ -131,7 +132,7 @@ ((eq event 'setup-pos) (chess-engine-send nil (format "setboard %s\n" - (chess-pos-to-string (car args))))) + (chess-pos-to-fen (car args))))) ((eq event 'evaluate) (setq chess-crafty-evaluation nil) |
