diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/frames.texi | 8 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 11 |
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index 03172b62cf5..082de3796c1 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -925,6 +925,14 @@ the initial frame, by customizing the variable | |||
| 925 | specify colors and fonts don't affect menus and the menu bar, since | 925 | specify colors and fonts don't affect menus and the menu bar, since |
| 926 | those are drawn by the toolkit and not directly by Emacs. | 926 | those are drawn by the toolkit and not directly by Emacs. |
| 927 | 927 | ||
| 928 | Note that if you are using the desktop library to save and restore | ||
| 929 | your sessions, the frames to be restored are recorded in the desktop | ||
| 930 | file, together with their parameters. When these frames are restored, | ||
| 931 | the recorded parameters take precedence over the frame parameters | ||
| 932 | specified by @code{default-frame-alist} and @code{initial-frame-alist} | ||
| 933 | in your init file. @xref{Saving Emacs Sessions}, for how to avoid | ||
| 934 | that. | ||
| 935 | |||
| 928 | @node Scroll Bars | 936 | @node Scroll Bars |
| 929 | @section Scroll Bars | 937 | @section Scroll Bars |
| 930 | @cindex Scroll Bar mode | 938 | @cindex Scroll Bar mode |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 502ccad1382..f38a797b36c 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2371,6 +2371,17 @@ To disable this, set @code{desktop-restore-frames} to @code{nil}. | |||
| 2371 | (See that variable's documentation for some related options | 2371 | (See that variable's documentation for some related options |
| 2372 | that you can customize to fine-tune this behavior.) | 2372 | that you can customize to fine-tune this behavior.) |
| 2373 | 2373 | ||
| 2374 | @vindex frameset-filter-alist | ||
| 2375 | When the desktop restores the frame and window configuration, it | ||
| 2376 | uses the recorded values of frame parameters, disregarding any | ||
| 2377 | settings for those parameters you have in your init file (@pxref{Init | ||
| 2378 | File}). This means that frame parameters such as fonts and faces for | ||
| 2379 | the restored frames will come from the desktop file, where they were | ||
| 2380 | saved when you exited your previous Emacs session; any settings for | ||
| 2381 | those parameters in your init file will be ignored. To disable this, | ||
| 2382 | customize the value of @code{frameset-filter-alist} to filter out the | ||
| 2383 | frame parameters you don't want to be restored. | ||
| 2384 | |||
| 2374 | @findex desktop-save | 2385 | @findex desktop-save |
| 2375 | @vindex desktop-save-mode | 2386 | @vindex desktop-save-mode |
| 2376 | You can save the desktop manually with the command @kbd{M-x | 2387 | You can save the desktop manually with the command @kbd{M-x |