From: Glenn Morris Date: Thu, 2 Sep 2010 05:41:23 +0000 (-0700) Subject: * doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948) X-Git-Tag: emacs-pretest-23.2.90~134^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e4a0188a23385fe57a804b4636674f4842429ad2;p=emacs.git * doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948) --- diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 63de0aafc07..b4b03da88dc 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,7 @@ +2010-09-02 Glenn Morris + + * misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948) + 2010-08-21 Glenn Morris * misc.texi (Amusements): Mention bubbles and animate. diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 029cf410664..ea4b39bdece 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -2349,8 +2349,11 @@ sessions, or add this line in your init file (@pxref{Init File}): @findex desktop-change-dir @findex desktop-revert +@vindex desktop-path If you turn on @code{desktop-save-mode} in your init file, then when Emacs starts, it looks for a saved desktop in the current directory. +(More precisely, it looks in the directories specified by +@var{desktop-path}, and uses the first desktop it finds.) Thus, you can have separate saved desktops in different directories, and the starting directory determines which one Emacs reloads. You can save the current desktop and reload one saved in another directory