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-gnuchess.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chess-gnuchess.el') 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) -- cgit v1.2.3