summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-09-01 22:41:23 -0700
committerGlenn Morris <rgm@gnu.org>2010-09-01 22:41:23 -0700
commite4a0188a23385fe57a804b4636674f4842429ad2 (patch)
tree8582b6a575dfde6cf8483531bd0d92ce8393a441 /doc
parenta3b337cd0d96715741366294a61d94182413343a (diff)
downloademacs-e4a0188a23385fe57a804b4636674f4842429ad2.tar.gz
* doc/emacs/misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948)
Diffstat (limited to 'doc')
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/misc.texi3
2 files changed, 7 insertions, 0 deletions
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 <rgm@gnu.org>
+
+ * misc.texi (Saving Emacs Sessions): Mention desktop-path. (Bug#6948)
+
2010-08-21 Glenn Morris <rgm@gnu.org>
* 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