[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: desktop and ~/.emacs.d/

From: Stefan Monnier
Subject: Re: desktop and ~/.emacs.d/
Date: Sun, 13 Sep 2009 21:26:50 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

>> In the case of desktop.el, OTOH you can indeed move ~/.emacs.desktop
>> to ~/.emacs.d.

> You need to cd to ~/.emacs.d/ before starting Emacs or add
> "~/.emacs.d" to `desktop-path' to make it work as in ~/.

Duh! Sorry, I've made that change locally so long ago that I forgot that
it's not yet standard.
Any objection to the patch below?


--- desktop.el.~1.137.~ 2009-08-12 00:33:24.000000000 -0400
+++ desktop.el  2009-09-13 21:26:00.000000000 -0400
@@ -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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]