# HG changeset patch # User Glenn Morris # Date 1283406083 25200 # Node ID c0a83e23d6d1bd5f633bd698a295f831d85d4737 # Parent 941667e2cb4c8d86ab1465073133764a818aeec4 * doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948) diff -r 941667e2cb4c -r c0a83e23d6d1 doc/emacs/ChangeLog --- a/doc/emacs/ChangeLog Wed Sep 01 22:38:30 2010 -0700 +++ b/doc/emacs/ChangeLog Wed Sep 01 22:41:23 2010 -0700 @@ -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 -r 941667e2cb4c -r c0a83e23d6d1 doc/emacs/misc.texi --- a/doc/emacs/misc.texi Wed Sep 01 22:38:30 2010 -0700 +++ b/doc/emacs/misc.texi Wed Sep 01 22:41:23 2010 -0700 @@ -2349,8 +2349,11 @@ @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