diff options
| author | Juanma Barranquero | 2008-10-24 09:39:27 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2008-10-24 09:39:27 +0000 |
| commit | d6c180c46bcd0e492695aefee576d51a7bdf32e6 (patch) | |
| tree | 5c234b6bd9501b91148dc39777f612b9fc1cadd8 /etc | |
| parent | ecd43cb971723a8573afaa4ba6c8d50de7aa6db5 (diff) | |
| download | emacs-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/ChangeLog | 4 | ||||
| -rw-r--r-- | etc/NEWS | 4 |
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 @@ | |||
| 1 | 2008-10-24 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * NEWS: New function `locate-user-emacs-file'. | ||
| 4 | |||
| 1 | 2008-10-18 Ulrich Mueller <ulm@gentoo.org> | 5 | 2008-10-18 Ulrich Mueller <ulm@gentoo.org> |
| 2 | 6 | ||
| 3 | * MACHINES: Add section for SuperH. | 7 | * MACHINES: Add section for SuperH. |
| @@ -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 |
| 1637 | port support (see Emacs changes, above). | 1637 | port support (see Emacs changes, above). |
| 1638 | 1638 | ||
| 1639 | *** `locate-user-emacs-file' helps packages to select the appropriate | ||
| 1640 | place to save user-specific files. It defaults to `user-emacs-directory' | ||
| 1641 | unless the file already exists at $HOME. | ||
| 1642 | |||
| 1639 | ** Miscellaneous new variables | 1643 | ** Miscellaneous new variables |
| 1640 | 1644 | ||
| 1641 | +++ | 1645 | +++ |