From: Stephen Berman Date: Sat, 17 Nov 2012 07:00:35 +0000 (+0800) Subject: Fix for gamegrid-add-score-with-update-game-score-1. X-Git-Tag: emacs-24.3.90~173^2~18^2~87 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e45deaefe72ab01a93d5c804fa08075c2fdac778;p=emacs.git 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 --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 72192bc79e5..8ac744bb980 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2012-11-17 Stephen Berman + + * 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 * help-mode.el (help-xref-interned): End on point-min (Bug#12737). diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index f3e277e338c..a3ea4af4651 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -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)