aboutsummaryrefslogtreecommitdiffstats
path: root/man/misc.texi
diff options
context:
space:
mode:
Diffstat (limited to 'man/misc.texi')
-rw-r--r--man/misc.texi13
1 files changed, 9 insertions, 4 deletions
diff --git a/man/misc.texi b/man/misc.texi
index 6f6d448bc7d..f6fb5edfbdb 100644
--- a/man/misc.texi
+++ b/man/misc.texi
@@ -1998,8 +1998,9 @@ subsequent Emacs sessions reload the saved desktop.
1998@findex desktop-save 1998@findex desktop-save
1999@vindex desktop-save-mode 1999@vindex desktop-save-mode
2000 You can save the desktop manually with the command @kbd{M-x 2000 You can save the desktop manually with the command @kbd{M-x
2001desktop-save}. You can also enable automatic desktop saving when 2001desktop-save}. You can also enable automatic saving of the desktop
2002you exit Emacs: use the Customization buffer (@pxref{Easy 2002when you exit Emacs, and automatic restoration of the last saved
2003desktop when Emacs starts: use the Customization buffer (@pxref{Easy
2003Customization}) to set @code{desktop-save-mode} to @code{t} for future 2004Customization}) to set @code{desktop-save-mode} to @code{t} for future
2004sessions, or add this line in your @file{~/.emacs} file: 2005sessions, or add this line in your @file{~/.emacs} file:
2005 2006
@@ -2009,7 +2010,8 @@ sessions, or add this line in your @file{~/.emacs} file:
2009 2010
2010@findex desktop-change-dir 2011@findex desktop-change-dir
2011@findex desktop-revert 2012@findex desktop-revert
2012 When Emacs starts, it looks for a saved desktop in the current 2013 If you turn on @code{desktop-save-mode} in your @file{~/.emacs},
2014then when Emacs starts, it looks for a saved desktop in the current
2013directory. Thus, you can have separate saved desktops in different 2015directory. Thus, you can have separate saved desktops in different
2014directories, and the starting directory determines which one Emacs 2016directories, and the starting directory determines which one Emacs
2015reloads. You can save the current desktop and reload one saved in 2017reloads. You can save the current desktop and reload one saved in
@@ -2018,7 +2020,10 @@ another directory by typing @kbd{M-x desktop-change-dir}. Typing
2018 2020
2019 Specify the option @samp{--no-desktop} on the command line when you 2021 Specify the option @samp{--no-desktop} on the command line when you
2020don't want it to reload any saved desktop. This turns off 2022don't want it to reload any saved desktop. This turns off
2021@code{desktop-save-mode} for the current session. 2023@code{desktop-save-mode} for the current session. Starting Emacs with
2024the @samp{--no-init-file} option also disables desktop reloading,
2025since it bypasses the @file{.emacs} init file, where
2026@code{desktop-save-mode} is usually turned on.
2022 2027
2023@vindex desktop-restore-eager 2028@vindex desktop-restore-eager
2024 By default, all the buffers in the desktop are restored at one go. 2029 By default, all the buffers in the desktop are restored at one go.