aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorJuanma Barranquero2008-10-24 09:39:27 +0000
committerJuanma Barranquero2008-10-24 09:39:27 +0000
commitd6c180c46bcd0e492695aefee576d51a7bdf32e6 (patch)
tree5c234b6bd9501b91148dc39777f612b9fc1cadd8 /etc
parentecd43cb971723a8573afaa4ba6c8d50de7aa6db5 (diff)
downloademacs-d6c180c46bcd0e492695aefee576d51a7bdf32e6.tar.gz
emacs-d6c180c46bcd0e492695aefee576d51a7bdf32e6.zip
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 'etc')
-rw-r--r--etc/ChangeLog4
-rw-r--r--etc/NEWS4
2 files changed, 8 insertions, 0 deletions
diff --git a/etc/ChangeLog b/etc/ChangeLog
index 2a1ef635321..4afa26a5141 100644
--- a/etc/ChangeLog
+++ b/etc/ChangeLog
@@ -1,3 +1,7 @@
12008-10-24 Juanma Barranquero <lekktu@gmail.com>
2
3 * NEWS: New function `locate-user-emacs-file'.
4
12008-10-18 Ulrich Mueller <ulm@gentoo.org> 52008-10-18 Ulrich Mueller <ulm@gentoo.org>
2 6
3 * MACHINES: Add section for SuperH. 7 * MACHINES: Add section for SuperH.
diff --git a/etc/NEWS b/etc/NEWS
index d50b9cc4029..70fc968440e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1636,6 +1636,10 @@ the match data.
1636`serial-process-configure' provide a Lisp interface to the new serial 1636`serial-process-configure' provide a Lisp interface to the new serial
1637port support (see Emacs changes, above). 1637port support (see Emacs changes, above).
1638 1638
1639*** `locate-user-emacs-file' helps packages to select the appropriate
1640place to save user-specific files. It defaults to `user-emacs-directory'
1641unless the file already exists at $HOME.
1642
1639** Miscellaneous new variables 1643** Miscellaneous new variables
1640 1644
1641+++ 1645+++