changeset 52218:bdc9a2bc9371

(Saving Emacs Sessions): Manual M-x desktop-save not required.
author Alex Schroeder <alex@gnu.org>
date Sun, 17 Aug 2003 09:37:37 +0000
parents 2261bea7f3b6
children cf7c59950b0a
files man/misc.texi
diffstat 1 files changed, 5 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/man/misc.texi	Sun Aug 17 09:32:10 2003 +0000
+++ b/man/misc.texi	Sun Aug 17 09:37:37 2003 +0000
@@ -1888,16 +1888,15 @@
 @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