From 8f0f2044b5445722aff29a0c58461a794564f13a Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Tue, 20 May 2014 03:25:59 +0200 Subject: 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. --- chess-crafty.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chess-crafty.el') 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) -- cgit v1.2.3