From e45deaefe72ab01a93d5c804fa08075c2fdac778 Mon Sep 17 00:00:00 2001 From: Stephen Berman Date: Sat, 17 Nov 2012 15:00:35 +0800 Subject: [PATCH] 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 --- lisp/ChangeLog | 6 ++++++ lisp/play/gamegrid.el | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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) -- 2.11.4.GIT