From e4a0188a23385fe57a804b4636674f4842429ad2 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 1 Sep 2010 22:41:23 -0700 Subject: [PATCH] * doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948) --- doc/emacs/ChangeLog | 4 ++++ doc/emacs/misc.texi | 3 +++ 2 files changed, 7 insertions(+) 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 -- 2.39.2