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-gnuchess.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-gnuchess.el')
| -rw-r--r-- | chess-gnuchess.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-gnuchess.el b/chess-gnuchess.el index 227ee84..81d7152 100644 --- a/chess-gnuchess.el +++ b/chess-gnuchess.el @@ -22,6 +22,7 @@ ;;; Code: (require 'chess-common) +(require 'chess-fen) (defgroup chess-gnuchess nil "The publically available chess engine 'gnuchess'." @@ -69,7 +70,7 @@ ((eq event 'setup-pos) (let ((file (chess-with-temp-file - (insert (chess-pos-to-string (car args)) ?\n)))) + (insert (chess-pos-to-fen (car args)) ?\n)))) (chess-engine-send nil (format "epdload %s\n" file)))) ((eq event 'setup-game) |
