changeset 105031:7700dc1d76fd

(desktop-path): Check user-emacs-directory.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 15 Sep 2009 04:05:12 +0000
parents 8da5090a59d7
children 57aeab3faaa9
files lisp/ChangeLog lisp/desktop.el
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Sep 15 04:03:35 2009 +0000
+++ b/lisp/ChangeLog	Tue Sep 15 04:05:12 2009 +0000
@@ -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.
--- a/lisp/desktop.el	Tue Sep 15 04:03:35 2009 +0000
+++ b/lisp/desktop.el	Tue Sep 15 04:05:12 2009 +0000
@@ -220,7 +220,7 @@
   :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)