summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Lang <mlang@delysid.org>2004-01-27 22:19:21 +0000
committerMario Lang <mlang@delysid.org>2004-01-27 22:19:21 +0000
commit70b05cae78295aef5630eef185f8f0284b91f5dc (patch)
tree54a9ed6eaaca0b93c12bd108c8ae3cb4667bb133
parent53df3477f6d65f778fa24c2a4a55902b34eda1aa (diff)
minor fixes
-rw-r--r--chess-pgn.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/chess-pgn.el b/chess-pgn.el
index 6c5ab7b..72903e5 100644
--- a/chess-pgn.el
+++ b/chess-pgn.el
@@ -3,6 +3,8 @@
;; Convert a chess game to/from PGN notation
;;
+(require 'chess-algebraic)
+
(defvar chess-pgn-fill-column 60)
(chess-message-catalog 'english
@@ -67,6 +69,7 @@ Optionally use the supplied STRING instead of the current buffer."
(if string
(with-temp-buffer
(insert string)
+ (goto-char (point-min))
(chess-pgn-parse))
(chess-pgn-parse)))