From: Lars Ingebrigtsen Date: Fri, 23 Aug 2019 04:40:20 +0000 (+0200) Subject: Really save games scores to the games scores directory X-Git-Tag: emacs-27.0.90~1328^2~114 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d31fa998e7f9e98b8f60869253c6603c80416cbb;p=emacs.git Really save games scores to the games scores directory * lisp/play/gamegrid.el (gamegrid-add-score-with-update-game-score): Save games scores to `gamegrid-user-score-file-directory' by default (bug#36971). --- diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index 2d19c145b0a..be09a73a1f1 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -562,7 +562,8 @@ FILE is created there." (gamegrid-shared-game-dir (not (zerop (logand #o6000 (or update-game-score-modes 0)))))) (cond ((or (not update-game-score-modes) (file-name-absolute-p file)) - (gamegrid-add-score-insecure file score)) + (gamegrid-add-score-insecure file score + gamegrid-user-score-file-directory)) ((and gamegrid-shared-game-dir (file-exists-p (expand-file-name file shared-game-score-directory))) ;; Use the setgid (or setuid) "update-game-score" program