diff options
| author | Xue Fuqiao | 2014-02-28 09:05:49 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2014-02-28 09:05:49 +0800 |
| commit | 3e557f5988c5f52dabce3fae470703d693ba6b5a (patch) | |
| tree | 18b101a00bde9fe9ca2aee092c688fd414e2bb23 | |
| parent | 653b6ea317969d0e78f13e7e84e970c4032a298a (diff) | |
| download | emacs-3e557f5988c5f52dabce3fae470703d693ba6b5a.tar.gz emacs-3e557f5988c5f52dabce3fae470703d693ba6b5a.zip | |
Some desktop doc.
* doc/emacs/misc.texi (Saving Emacs Sessions): Document some new desktop user options.
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 26 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
3 files changed, 31 insertions, 0 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 2433e3c8b8f..7138f59d242 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-02-28 Xue Fuqiao <xfq@gnu.org> | ||
| 2 | |||
| 3 | * misc.texi (Saving Emacs Sessions): Document some new desktop user options. | ||
| 4 | |||
| 1 | 2014-02-27 Xue Fuqiao <xfq@gnu.org> | 5 | 2014-02-27 Xue Fuqiao <xfq@gnu.org> |
| 2 | 6 | ||
| 3 | * programs.texi (Basic Indent): | 7 | * programs.texi (Basic Indent): |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index d9bfcca3ca3..801d9f9e4e6 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2193,6 +2193,32 @@ preserve certain buffers, customize the variable | |||
| 2193 | @code{desktop-clear-preserve-buffers-regexp}, whose value is a regular | 2193 | @code{desktop-clear-preserve-buffers-regexp}, whose value is a regular |
| 2194 | expression matching the names of buffers not to kill. | 2194 | expression matching the names of buffers not to kill. |
| 2195 | 2195 | ||
| 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 | |||
| 2196 | If you want to save minibuffer history from one session to | 2222 | If you want to save minibuffer history from one session to |
| 2197 | another, use the @code{savehist} library. | 2223 | another, use the @code{savehist} library. |
| 2198 | 2224 | ||
| @@ -537,6 +537,7 @@ if your version doesn't support that option. See option `cfengine-cf-promises'. | |||
| 537 | after `desktop-auto-save-timeout'. To disable this, customize that option | 537 | after `desktop-auto-save-timeout'. To disable this, customize that option |
| 538 | to nil (or zero). | 538 | to nil (or zero). |
| 539 | 539 | ||
| 540 | +++ | ||
| 540 | *** `desktop-restore-frames', enabled by default, allows saving and | 541 | *** `desktop-restore-frames', enabled by default, allows saving and |
| 541 | restoring the frame/window configuration (frameset). Additional options | 542 | restoring the frame/window configuration (frameset). Additional options |
| 542 | `desktop-restore-in-current-display', `desktop-restore-reuses-frames' | 543 | `desktop-restore-in-current-display', `desktop-restore-reuses-frames' |