emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master d31fa99: Really save games scores to the games scor


From: Lars Ingebrigtsen
Subject: [Emacs-diffs] master d31fa99: Really save games scores to the games scores directory
Date: Fri, 23 Aug 2019 00:40:26 -0400 (EDT)

branch: master
commit d31fa998e7f9e98b8f60869253c6603c80416cbb
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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).
---
 lisp/play/gamegrid.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el
index 2d19c14..be09a73 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]