Fix for gamegrid-add-score-with-update-game-score-1.

* lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
Don't signal an error with a score that is too low to add to the list
of top scores.

Fixes: debbugs:12779
This commit is contained in:
Stephen Berman 2012-11-17 15:00:35 +08:00 committed by Chong Yidong
parent 8e7696a18b
commit e45deaefe7
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2012-11-17 Stephen Berman <stephen.berman@gmx.net>
* play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
Don't signal an error with a score that is too low to add to the
list of top scores. (Bug#12779)
2012-11-17 Chong Yidong <cyd@gnu.org>
* help-mode.el (help-xref-interned): End on point-min (Bug#12737).

View file

@ -560,7 +560,7 @@ FILE is created there."
(goto-char (point-min))
(search-forward (concat (int-to-string score)
" " (user-login-name) " "
marker-string))
marker-string) nil t)
(beginning-of-line)))))
(defun gamegrid-add-score-insecure (file score &optional directory)