diff options
Diffstat (limited to 'man/misc.texi')
| -rw-r--r-- | man/misc.texi | 13 |
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 |
| 2001 | desktop-save}. You can also enable automatic desktop saving when | 2001 | desktop-save}. You can also enable automatic saving of the desktop |
| 2002 | you exit Emacs: use the Customization buffer (@pxref{Easy | 2002 | when you exit Emacs, and automatic restoration of the last saved |
| 2003 | desktop when Emacs starts: use the Customization buffer (@pxref{Easy | ||
| 2003 | Customization}) to set @code{desktop-save-mode} to @code{t} for future | 2004 | Customization}) to set @code{desktop-save-mode} to @code{t} for future |
| 2004 | sessions, or add this line in your @file{~/.emacs} file: | 2005 | sessions, 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}, |
| 2014 | then when Emacs starts, it looks for a saved desktop in the current | ||
| 2013 | directory. Thus, you can have separate saved desktops in different | 2015 | directory. Thus, you can have separate saved desktops in different |
| 2014 | directories, and the starting directory determines which one Emacs | 2016 | directories, and the starting directory determines which one Emacs |
| 2015 | reloads. You can save the current desktop and reload one saved in | 2017 | reloads. 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 |
| 2020 | don't want it to reload any saved desktop. This turns off | 2022 | don'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 |
| 2024 | the @samp{--no-init-file} option also disables desktop reloading, | ||
| 2025 | since 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. |