1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00

(desktop-path): Check user-emacs-directory.

This commit is contained in:
Stefan Monnier 2009-09-15 04:05:12 +00:00
parent 49fec53141
commit 13dc2bc2e8
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
* desktop.el (desktop-path): Check user-emacs-directory.
* emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
* loadup.el: Use after-load-functions to GC after loading each file.

View File

@ -220,7 +220,7 @@ the normal hook `desktop-not-loaded-hook' is run."
:group 'desktop
:version "22.2")
(defcustom desktop-path '("." "~")
(defcustom desktop-path (list "." user-emacs-directory "~")
"List of directories to search for the desktop file.
The base name of the file is specified in `desktop-base-file-name'."
:type '(repeat directory)