2012-11-01 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, but inform the user. (Bug#xxxxxx) === modified file 'lisp/play/gamegrid.el' *** lisp/play/gamegrid.el 2012-07-11 23:13:41 +0000 --- lisp/play/gamegrid.el 2012-11-01 20:03:28 +0000 *************** *** 558,567 **** (display-buffer buf)) (find-file-read-only target)) (goto-char (point-min)) ! (search-forward (concat (int-to-string score) ! " " (user-login-name) " " ! marker-string)) ! (beginning-of-line))))) (defun gamegrid-add-score-insecure (file score &optional directory) (save-excursion --- 558,569 ---- (display-buffer buf)) (find-file-read-only target)) (goto-char (point-min)) ! (if (search-forward (concat (int-to-string score) ! " " (user-login-name) " " ! marker-string) nil t) ! (beginning-of-line) ! (message ! "Sorry, your score was too low to make the list of top scores.")))))) (defun gamegrid-add-score-insecure (file score &optional directory) (save-excursion