From 735bbd126e1d51f5936bb42571e3acf8bce2e89e Mon Sep 17 00:00:00 2001 From: Alex Schroeder Date: Sun, 17 Aug 2003 09:37:37 +0000 Subject: [PATCH] (Saving Emacs Sessions): Manual M-x desktop-save not required. --- man/misc.texi | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/man/misc.texi b/man/misc.texi index 520bcb66869..0342cca0311 100644 --- a/man/misc.texi +++ b/man/misc.texi @@ -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 -- 2.39.2