diff options
| author | Alex Schroeder | 2003-08-17 09:37:37 +0000 |
|---|---|---|
| committer | Alex Schroeder | 2003-08-17 09:37:37 +0000 |
| commit | 735bbd126e1d51f5936bb42571e3acf8bce2e89e (patch) | |
| tree | 502a170aac92058a8387e13a1b61320cfd907403 /man | |
| parent | d12d93962cab90ab113c5f9a6c534d21630f5d12 (diff) | |
| download | emacs-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.texi | 11 |
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 |
| 1895 | The first time you save the state of the Emacs session, you must do it | 1896 | The first time you exit Emacs, you will be asked whether you want to |
| 1896 | manually, with the command @kbd{M-x desktop-save}. Once you have done | 1897 | save your session. Once you have done that, exiting Emacs will save |
| 1897 | that, exiting Emacs will save the state again---not only the present | 1898 | the state again in subsequent sessions. You can also save the state |
| 1898 | Emacs session, but also subsequent sessions. You can also save the | 1899 | at any time, without exiting Emacs, by typing @kbd{M-x desktop-save}. |
| 1899 | state at any time, without exiting Emacs, by typing @kbd{M-x | ||
| 1900 | desktop-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 |
| 1903 | must start it with the same current directory as you used when you | 1902 | must start it with the same current directory as you used when you |