From: Chong Yidong Date: Wed, 13 Jun 2007 00:05:37 +0000 (+0000) Subject: (gamegrid-user-score-file-directory): Use user-emacs-directory. X-Git-Tag: emacs-pretest-23.0.90~12332 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=23afd1c8b6811891bccc193813f9bc65855adba0;p=emacs.git (gamegrid-user-score-file-directory): Use user-emacs-directory. --- diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el index a5689e6f0ea..0c49d81ec06 100644 --- a/lisp/play/gamegrid.el +++ b/lisp/play/gamegrid.el @@ -66,7 +66,8 @@ (defvar gamegrid-score-file-length 50 "Number of high scores to keep") -(defvar gamegrid-user-score-file-directory "~/.emacs.d/games" +(defvar gamegrid-user-score-file-directory + (concat user-emacs-directory "games") "A directory for game scores which can't be shared. If Emacs was built without support for shared game scores, then this directory will be used.")