(gamegrid-add-score-insecure): Use sort-fields.

This commit is contained in:
Jesper Harder 2004-04-05 11:57:14 +00:00
parent 4ba2fd662e
commit cbfbd37df5
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2004-04-05 Jesper Harder <harder@ifa.au.dk>
* play/gamegrid.el (gamegrid-add-score-insecure): Use sort-fields.
2004-04-04 Luc Teirlinck <teirllm@auburn.edu>
* autorevert.el (auto-revert-handler): If point (or a window

View file

@ -566,7 +566,7 @@ FILE is created there."
((boundp 'user-mail-address)
user-mail-address)
(t ""))))
(sort-numeric-fields 1 (point-min) (point-max))
(sort-fields 1 (point-min) (point-max))
(reverse-region (point-min) (point-max))
(goto-line (1+ gamegrid-score-file-length))
(delete-region (point) (point-max))