aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXue Fuqiao2014-02-28 09:05:49 +0800
committerXue Fuqiao2014-02-28 09:05:49 +0800
commit3e557f5988c5f52dabce3fae470703d693ba6b5a (patch)
tree18b101a00bde9fe9ca2aee092c688fd414e2bb23
parent653b6ea317969d0e78f13e7e84e970c4032a298a (diff)
downloademacs-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/ChangeLog4
-rw-r--r--doc/emacs/misc.texi26
-rw-r--r--etc/NEWS1
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 @@
12014-02-28 Xue Fuqiao <xfq@gnu.org>
2
3 * misc.texi (Saving Emacs Sessions): Document some new desktop user options.
4
12014-02-27 Xue Fuqiao <xfq@gnu.org> 52014-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
2194expression matching the names of buffers not to kill. 2194expression 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}
2198means save frames (@pxref{Frames}) to desktop file.
2199
2200@vindex desktop-restore-in-current-display
2201If the value of @code{desktop-restore-in-current-display} is @code{t},
2202frames are restored in the current display. If @code{nil} (the
2203default), frames are restored in their original displays if possible.
2204If @samp{delete}, frames on other displays are deleted instead of
2205restored.
2206
2207@vindex desktop-restore-reuses-frames
2208If the value of @code{desktop-restore-reuses-frames} is @code{t} (the
2209default), restoring frames will reuse existing frames. If @code{nil},
2210existing frames are deleted. If @samp{:keep}, existing frames are
2211kept but not reused.
2212
2213@vindex desktop-restore-forces-onscreen
2214If 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
2217onscreen. @strong{Notice:} Checking of frame boundaries is
2218approximate. It may not reliably detect frames whose
2219onscreen/offscreen state depends on a few pixels, especially near the
2220right 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
2197another, use the @code{savehist} library. 2223another, use the @code{savehist} library.
2198 2224
diff --git a/etc/NEWS b/etc/NEWS
index da19f9c534b..b9240f2936f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -537,6 +537,7 @@ if your version doesn't support that option. See option `cfengine-cf-promises'.
537after `desktop-auto-save-timeout'. To disable this, customize that option 537after `desktop-auto-save-timeout'. To disable this, customize that option
538to nil (or zero). 538to 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
541restoring the frame/window configuration (frameset). Additional options 542restoring 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'