1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00

Fix description of 'desktop-save-mode'

* doc/emacs/misc.texi (Saving Emacs Sessions): Adjust to changes
in 'desktop-path'.  Reported by Petteri Hintsanen <petterih@iki.fi>.
This commit is contained in:
Eli Zaretskii 2023-02-27 13:31:47 +02:00
parent aee10ca1cb
commit 9d0f856a16

View File

@ -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