aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorAlex Schroeder2003-08-17 09:37:37 +0000
committerAlex Schroeder2003-08-17 09:37:37 +0000
commit735bbd126e1d51f5936bb42571e3acf8bce2e89e (patch)
tree502a170aac92058a8387e13a1b61320cfd907403 /man
parentd12d93962cab90ab113c5f9a6c534d21630f5d12 (diff)
downloademacs-735bbd126e1d51f5936bb42571e3acf8bce2e89e.tar.gz
emacs-735bbd126e1d51f5936bb42571e3acf8bce2e89e.zip
(Saving Emacs Sessions): Manual M-x desktop-save not required.
Diffstat (limited to 'man')
-rw-r--r--man/misc.texi11
1 files 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:
1888@example 1888@example
1889(desktop-load-default) 1889(desktop-load-default)
1890(desktop-read) 1890(desktop-read)
1891(setq desktop-enable t)
1891@end example 1892@end example
1892 1893
1893@noindent 1894@noindent
1894@findex desktop-save 1895@findex desktop-save
1895The first time you save the state of the Emacs session, you must do it 1896The first time you exit Emacs, you will be asked whether you want to
1896manually, with the command @kbd{M-x desktop-save}. Once you have done 1897save your session. Once you have done that, exiting Emacs will save
1897that, exiting Emacs will save the state again---not only the present 1898the state again in subsequent sessions. You can also save the state
1898Emacs session, but also subsequent sessions. You can also save the 1899at any time, without exiting Emacs, by typing @kbd{M-x desktop-save}.
1899state at any time, without exiting Emacs, by typing @kbd{M-x
1900desktop-save} again.
1901 1900
1902 In order for Emacs to recover the state from a previous session, you 1901 In order for Emacs to recover the state from a previous session, you
1903must start it with the same current directory as you used when you 1902must start it with the same current directory as you used when you