1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

(Saving Emacs Sessions): Manual M-x desktop-save not required.

This commit is contained in:
Alex Schroeder 2003-08-17 09:37:37 +00:00
parent d12d93962c
commit 735bbd126e

View file

@ -1888,16 +1888,15 @@ or add these lines at the end of your @file{.emacs} file:
@example
(desktop-load-default)
(desktop-read)
(setq desktop-enable t)
@end example
@noindent
@findex desktop-save
The first time you save the state of the Emacs session, you must do it
manually, with the command @kbd{M-x desktop-save}. Once you have done
that, exiting Emacs will save the state again---not only the present
Emacs session, but also subsequent sessions. You can also save the
state at any time, without exiting Emacs, by typing @kbd{M-x
desktop-save} again.
The first time you exit Emacs, you will be asked whether you want to
save your session. Once you have done that, exiting Emacs will save
the state again in subsequent sessions. You can also save the state
at any time, without exiting Emacs, by typing @kbd{M-x desktop-save}.
In order for Emacs to recover the state from a previous session, you
must start it with the same current directory as you used when you