summaryrefslogtreecommitdiff
path: root/chess-tutorial.el
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-27 21:02:50 +0000
committerMario Lang <mlang@delysid.org>2004-01-27 21:02:50 +0000
commite48256849bbbc9e8d0c53e8621f242dd361461b3 (patch)
treeed97bdaf677f315f59620e5e5d573f7d29b055c0 /chess-tutorial.el
parentc4e28f4cad1f121391b28c73f6557565e0d9d123 (diff)
we can use chess-display-set-from-fen here
Diffstat (limited to 'chess-tutorial.el')
-rw-r--r--chess-tutorial.el4
1 files changed, 1 insertions, 3 deletions
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)