summaryrefslogtreecommitdiff
path: root/lisp/desktop.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2009-09-15 04:05:12 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2009-09-15 04:05:12 +0000
commit13dc2bc2e89d4a7e2edbabd2f4cf33e77bcf8b74 (patch)
treec28264229a369da0450d05fda006b6a49cc2b2c1 /lisp/desktop.el
parent49fec531419726f3fd297f35ec1039bd1f7f0eda (diff)
downloademacs-13dc2bc2e89d4a7e2edbabd2f4cf33e77bcf8b74.tar.gz
(desktop-path): Check user-emacs-directory.
Diffstat (limited to 'lisp/desktop.el')
-rw-r--r--lisp/desktop.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/desktop.el b/lisp/desktop.el
index 5eebfd17aee..29230e07cb5 100644
--- a/lisp/desktop.el
+++ b/lisp/desktop.el
@@ -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)