diff options
| author | Glenn Morris | 2014-03-12 00:14:30 -0700 |
|---|---|---|
| committer | Glenn Morris | 2014-03-12 00:14:30 -0700 |
| commit | 464560055fa70476dc6db20c1c29e812cf05a8f9 (patch) | |
| tree | c775ca9c30ab50ce4e383ff9ebb9d97cebafb725 /doc | |
| parent | 7195b84120e016e4a23c9559ac4eeb5d05ceb2b0 (diff) | |
| download | emacs-464560055fa70476dc6db20c1c29e812cf05a8f9.tar.gz emacs-464560055fa70476dc6db20c1c29e812cf05a8f9.zip | |
Some doc edits related to desktop-restore-frames
* doc/emacs/misc.texi (Saving Emacs Sessions):
Be briefer about desktop's handling of frames.
The manual does not need to mention every option, nor should
it just repeat the doc-strings.
* lisp/desktop.el (desktop-restore-frames)
(desktop-restore-in-current-display, desktop-restore-forces-onscreen)
(desktop-restore-reuses-frames): Doc tweaks.
* etc/NEWS: Related edits.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/emacs/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 31 |
2 files changed, 7 insertions, 27 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 67987ddc9e6..6adfa7fb90c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -8,6 +8,9 @@ | |||
| 8 | 8 | ||
| 9 | 2014-03-12 Glenn Morris <rgm@gnu.org> | 9 | 2014-03-12 Glenn Morris <rgm@gnu.org> |
| 10 | 10 | ||
| 11 | * misc.texi (Saving Emacs Sessions): Be briefer about desktop's | ||
| 12 | handling of frames. | ||
| 13 | |||
| 11 | * indent.texi (Indent Convenience): Mention electric-indent-local-mode. | 14 | * indent.texi (Indent Convenience): Mention electric-indent-local-mode. |
| 12 | 15 | ||
| 13 | 2014-03-02 Xue Fuqiao <xfq@gnu.org> | 16 | 2014-03-02 Xue Fuqiao <xfq@gnu.org> |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 801d9f9e4e6..f935b2e68d6 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2132,10 +2132,13 @@ hexl-@key{RET}} for details. | |||
| 2132 | @cindex reload files | 2132 | @cindex reload files |
| 2133 | @cindex desktop | 2133 | @cindex desktop |
| 2134 | 2134 | ||
| 2135 | @vindex desktop-restore-frames | ||
| 2135 | Use the desktop library to save the state of Emacs from one session | 2136 | Use the desktop library to save the state of Emacs from one session |
| 2136 | to another. Once you save the Emacs @dfn{desktop}---the buffers, | 2137 | to another. Once you save the Emacs @dfn{desktop}---the buffers, |
| 2137 | their file names, major modes, buffer positions, and so on---then | 2138 | their file names, major modes, buffer positions, and so on---then |
| 2138 | subsequent Emacs sessions reload the saved desktop. | 2139 | subsequent Emacs sessions reload the saved desktop. By default, |
| 2140 | the desktop also tries to save the frame and window configuration. | ||
| 2141 | To disable this, customize @code{desktop-restore-frames} to @code{nil}. | ||
| 2139 | 2142 | ||
| 2140 | @findex desktop-save | 2143 | @findex desktop-save |
| 2141 | @vindex desktop-save-mode | 2144 | @vindex desktop-save-mode |
| @@ -2193,32 +2196,6 @@ preserve certain buffers, customize the variable | |||
| 2193 | @code{desktop-clear-preserve-buffers-regexp}, whose value is a regular | 2196 | @code{desktop-clear-preserve-buffers-regexp}, whose value is a regular |
| 2194 | expression matching the names of buffers not to kill. | 2197 | expression matching the names of buffers not to kill. |
| 2195 | 2198 | ||
| 2196 | @vindex desktop-restore-frames | ||
| 2197 | @code{desktop-restore-frames}, enabled by default, a non-@code{nil} | ||
| 2198 | means save frames (@pxref{Frames}) to desktop file. | ||
| 2199 | |||
| 2200 | @vindex desktop-restore-in-current-display | ||
| 2201 | If the value of @code{desktop-restore-in-current-display} is @code{t}, | ||
| 2202 | frames are restored in the current display. If @code{nil} (the | ||
| 2203 | default), frames are restored in their original displays if possible. | ||
| 2204 | If @samp{delete}, frames on other displays are deleted instead of | ||
| 2205 | restored. | ||
| 2206 | |||
| 2207 | @vindex desktop-restore-reuses-frames | ||
| 2208 | If the value of @code{desktop-restore-reuses-frames} is @code{t} (the | ||
| 2209 | default), restoring frames will reuse existing frames. If @code{nil}, | ||
| 2210 | existing frames are deleted. If @samp{:keep}, existing frames are | ||
| 2211 | kept but not reused. | ||
| 2212 | |||
| 2213 | @vindex desktop-restore-forces-onscreen | ||
| 2214 | If the value of @code{desktop-restore-forces-onscreen} is @code{t} | ||
| 2215 | (the default), offscreen frames are restored onscreen. If | ||
| 2216 | @samp{:all}, frames that are partially offscreen are also forced | ||
| 2217 | onscreen. @strong{Notice:} Checking of frame boundaries is | ||
| 2218 | approximate. It may not reliably detect frames whose | ||
| 2219 | onscreen/offscreen state depends on a few pixels, especially near the | ||
| 2220 | right and/or bottom borders of the screen. | ||
| 2221 | |||
| 2222 | If you want to save minibuffer history from one session to | 2199 | If you want to save minibuffer history from one session to |
| 2223 | another, use the @code{savehist} library. | 2200 | another, use the @code{savehist} library. |
| 2224 | 2201 | ||