From 9d0f856a167040e66ad4bef5699e24552a6bc3c4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 27 Feb 2023 13:31:47 +0200 Subject: [PATCH] Fix description of 'desktop-save-mode' * doc/emacs/misc.texi (Saving Emacs Sessions): Adjust to changes in 'desktop-path'. Reported by Petteri Hintsanen . --- doc/emacs/misc.texi | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 -- 2.39.5