From: Eli Zaretskii Date: Mon, 27 Feb 2023 11:31:47 +0000 (+0200) Subject: Fix description of 'desktop-save-mode' X-Git-Tag: emacs-29.0.90~302 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=9d0f856a167040e66ad4bef5699e24552a6bc3c4;p=emacs.git Fix description of 'desktop-save-mode' * doc/emacs/misc.texi (Saving Emacs Sessions): Adjust to changes in 'desktop-path'. Reported by Petteri Hintsanen . --- diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index acabce57223..171544fc983 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -2748,10 +2748,12 @@ desktop reloading, since it bypasses the init file, where @findex desktop-revert You can have separate saved desktop configurations in different directories; starting Emacs from a directory where you have a saved -desktop configuration will restore that configuration. You can save -the current desktop and reload the one saved in another directory by -typing @kbd{M-x desktop-change-dir}. Typing @kbd{M-x desktop-revert} -reverts to the previously reloaded desktop. +desktop configuration will restore that configuration, provided that +you customize @code{desktop-path} to prepend @file{.} (the current +directory) to the other directories there. You can save the current +desktop and reload the one saved in another directory by typing +@kbd{M-x desktop-change-dir}. Typing @kbd{M-x desktop-revert} reverts +to the previously reloaded desktop. @vindex desktop-load-locked-desktop The file in which Emacs saves the desktop is locked while the