From db5b94f367aebaeb019b46b2e2feb9f366d5d964 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 14 Apr 2002 23:07:06 +0000 Subject: *** no comment *** --- chess-file.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'chess-file.el') 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)) -- cgit v1.2.3