summaryrefslogtreecommitdiff
path: root/chess-file.el
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2002-04-14 23:07:06 +0000
committerJohn Wiegley <johnw@newartisans.com>2002-04-14 23:07:06 +0000
commitdb5b94f367aebaeb019b46b2e2feb9f366d5d964 (patch)
tree51fcd68cc026f631a7a50efa8795be46d340469d /chess-file.el
parent4aa1c73a2e77af7bcf1bd24837c9f07488068cdd (diff)
*** no comment ***
Diffstat (limited to 'chess-file.el')
-rw-r--r--chess-file.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/chess-file.el b/chess-file.el
index 9667c06..dacf6b3 100644
--- a/chess-file.el
+++ b/chess-file.el
@@ -22,7 +22,8 @@
(setq chess-file-locations nil)
(while (search-forward "[Event" nil t)
(goto-char (match-beginning 0))
- (push (point) chess-file-locations))
+ (push (point) chess-file-locations)
+ (forward-char 1))
(setq chess-file-locations (nreverse chess-file-locations)))
((eq event 'save)
@@ -40,7 +41,8 @@
(chess-game-set-data game 'database (current-buffer))
(chess-game-set-data game 'database-index index)
(chess-game-set-data game 'database-count
- (chess-file-handler 'count))))))
+ (chess-file-handler 'count))
+ game))))
((eq event 'write)
(goto-char (point-max))