changeset 81348:fc9041cfe332

(gamegrid-user-score-file-directory): Use user-emacs-directory.
author Chong Yidong <cyd@stupidchicken.com>
date Wed, 13 Jun 2007 00:05:37 +0000
parents 2a989ff22a03
children f067f47d359f
files lisp/play/gamegrid.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/gamegrid.el	Wed Jun 13 00:05:24 2007 +0000
+++ b/lisp/play/gamegrid.el	Wed Jun 13 00:05:37 2007 +0000
@@ -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.")