summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)))