summaryrefslogtreecommitdiff
path: root/lisp/play
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2008-10-24 09:39:27 +0000
committerJuanma Barranquero <lekktu@gmail.com>2008-10-24 09:39:27 +0000
commitd6c180c46bcd0e492695aefee576d51a7bdf32e6 (patch)
tree5c234b6bd9501b91148dc39777f612b9fc1cadd8 /lisp/play
parentecd43cb971723a8573afaa4ba6c8d50de7aa6db5 (diff)
downloademacs-d6c180c46bcd0e492695aefee576d51a7bdf32e6.tar.gz
New function `locate-user-emacs-file'.
* subr.el (locate-user-emacs-file): New function. (user-emacs-directory): Mention it in docstring. * completion.el (save-completions-file-name): * filesets.el (filesets-menu-cache-file): * image-dired.el (image-dired-dir, image-dired-db-file) (image-dired-temp-image-file, image-dired-gallery-dir) (image-dired-temp-rotate-image-file): * savehist.el (savehist-file): * server.el (server-auth-dir): * startup.el (auto-save-list-file-prefix): * thumbs.el (thumbs-thumbsdir): * tutorial.el (tutorial--saved-dir): * play/gamegrid.el (gamegrid-user-score-file-directory): Use it. * url.el (url-configuration-directory): Use `locate-user-emacs-file'. * NEWS: New function `locate-user-emacs-file'.
Diffstat (limited to 'lisp/play')
-rw-r--r--lisp/play/gamegrid.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/gamegrid.el b/lisp/play/gamegrid.el
index 36362f2d49b..824e55043ec 100644
--- a/lisp/play/gamegrid.el
+++ b/lisp/play/gamegrid.el
@@ -65,7 +65,7 @@
"Number of high scores to keep")
(defvar gamegrid-user-score-file-directory
- (concat user-emacs-directory "games")
+ (locate-user-emacs-file "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.")