From e48256849bbbc9e8d0c53e8621f242dd361461b3 Mon Sep 17 00:00:00 2001 From: Mario Lang Date: Tue, 27 Jan 2004 21:02:50 +0000 Subject: we can use chess-display-set-from-fen here --- chess-tutorial.el | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'chess-tutorial.el') diff --git a/chess-tutorial.el b/chess-tutorial.el index 565b595..5a25113 100644 --- a/chess-tutorial.el +++ b/chess-tutorial.el @@ -33,9 +33,7 @@ (display (chess-create-display t))) (with-current-buffer display (chess-module-set-leader nil) - (chess-game-set-start-position - (chess-display-game nil) - (chess-fen-to-pos "8/3p1p/2p3p/4q/2p3p/3p1p/8/N w - -")) + (chess-display-set-from-fen "8/3p1p/2p3p/4q/2p3p/3p1p/8/N w - -") (chess-game-add-hook (chess-display-game nil) 'chess-tutorial-knight-1) (setq chess-pos-always-white t) (chess-display-popup nil) -- cgit v1.2.3