diff options
| author | John Wiegley <johnw@newartisans.com> | 2008-09-01 00:27:40 -0400 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2008-09-01 00:27:40 -0400 |
| commit | a2f1f41f720c5a78f4c76201da4e7fc9319d9bae (patch) | |
| tree | f6fd8342526fb6e0f53415cf6b91516cacb32702 /chess-pgn.el | |
| parent | c2058126f0bf3f44eb40fb462ce10842d60573a1 (diff) | |
Except for when making moves interactively (with chess-display-manual-move),
it is an error if a ply implies a promotion but not :promote keyword is passed
to indication which piece to promote to.
Diffstat (limited to 'chess-pgn.el')
| -rw-r--r-- | chess-pgn.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chess-pgn.el b/chess-pgn.el index c94c039..6417c26 100644 --- a/chess-pgn.el +++ b/chess-pgn.el @@ -5,6 +5,7 @@ (require 'chess-algebraic) (require 'chess-fen) +(require 'chess-ply) (require 'chess-message) (eval-when-compile @@ -55,7 +56,7 @@ (search-forward "}") (forward-char) (chess-pos-add-annotation position (buffer-substring-no-properties - begin (- (point) 2))))) + begin (- (point) 2))))) ((looking-at "(") (forward-char) (skip-chars-forward " \t\n") |
