diff options
author | Glenn Morris <[email protected]> | 2009-08-22 19:29:18 +0000 |
---|---|---|
committer | Glenn Morris <[email protected]> | 2009-08-22 19:29:18 +0000 |
commit | e6ce8c4239a0b7003430d94a5f591e1d4ad50213 (patch) | |
tree | 17852bba62da89f449af8c75f4fe50a3fb89852f /lisp/play | |
parent | a569b4801085fa14c3bd0d153e389636645908b9 (diff) |
Use forward-line rather than goto-line.
Diffstat (limited to 'lisp/play')
-rw-r--r-- | lisp/play/gamegrid.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index 18ab694b68..5dd63f0bb5 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -586,7 +586,8 @@ FILE is created there." (t "")))) (sort-fields 1 (point-min) (point-max)) (reverse-region (point-min) (point-max)) - (goto-line (1+ gamegrid-score-file-length)) + (goto-char (point-min)) + (forward-line gamegrid-score-file-length) (delete-region (point) (point-max)) (setq buffer-read-only t) (save-buffer))) |