summaryrefslogtreecommitdiff
path: root/lisp/thumbs.el
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/thumbs.el
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/thumbs.el')
-rw-r--r--lisp/thumbs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/thumbs.el b/lisp/thumbs.el
index bb62d4cf6a4..2c4642a4470 100644
--- a/lisp/thumbs.el
+++ b/lisp/thumbs.el
@@ -65,7 +65,7 @@
:version "22.1"
:group 'multimedia)
-(defcustom thumbs-thumbsdir (concat user-emacs-directory "thumbs")
+(defcustom thumbs-thumbsdir (locate-user-emacs-file "thumbs")
"*Directory to store thumbnails."
:type 'directory
:group 'thumbs)