diff options
| author | Glenn Morris | 2014-02-02 23:35:44 -0800 |
|---|---|---|
| committer | Glenn Morris | 2014-02-02 23:35:44 -0800 |
| commit | 15baaea8e763b5df8a7dee722c20293852845bd5 (patch) | |
| tree | 267312818b067aa9ce4aefa4f2b2c8a652f4e26d | |
| parent | ce0ef8febf40acb27f86e57ac82c7409d13d21ab (diff) | |
| download | emacs-15baaea8e763b5df8a7dee722c20293852845bd5.tar.gz emacs-15baaea8e763b5df8a7dee722c20293852845bd5.zip | |
Revert earlier desktop-auto-save doc changes
I don't understand this feature.
| -rw-r--r-- | doc/emacs/ChangeLog | 4 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 8 | ||||
| -rw-r--r-- | etc/NEWS | 5 | ||||
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/desktop.el | 4 |
5 files changed, 4 insertions, 19 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index c8508c39280..4478e4bd72c 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,7 +1,3 @@ | |||
| 1 | 2014-02-03 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * misc.texi (Saving Emacs Sessions): Mention desktop-auto-save-timeout. | ||
| 4 | |||
| 5 | 2014-02-02 Glenn Morris <rgm@gnu.org> | 1 | 2014-02-02 Glenn Morris <rgm@gnu.org> |
| 6 | 2 | ||
| 7 | * regs.texi (Registers): Mention previewing. | 3 | * regs.texi (Registers): Mention previewing. |
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index f89ebabd27a..e2151e9144c 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -2141,8 +2141,7 @@ subsequent Emacs sessions reload the saved desktop. | |||
| 2141 | @vindex desktop-save-mode | 2141 | @vindex desktop-save-mode |
| 2142 | You can save the desktop manually with the command @kbd{M-x | 2142 | You can save the desktop manually with the command @kbd{M-x |
| 2143 | desktop-save}. You can also enable automatic saving of the desktop | 2143 | desktop-save}. You can also enable automatic saving of the desktop |
| 2144 | at regular intervals and when you exit Emacs, and automatic restoration | 2144 | when you exit Emacs, and automatic restoration of the last saved |
| 2145 | of the last saved | ||
| 2146 | desktop when Emacs starts: use the Customization buffer (@pxref{Easy | 2145 | desktop when Emacs starts: use the Customization buffer (@pxref{Easy |
| 2147 | Customization}) to set @code{desktop-save-mode} to @code{t} for future | 2146 | Customization}) to set @code{desktop-save-mode} to @code{t} for future |
| 2148 | sessions, or add this line in your init file (@pxref{Init File}): | 2147 | sessions, or add this line in your init file (@pxref{Init File}): |
| @@ -2151,11 +2150,6 @@ sessions, or add this line in your init file (@pxref{Init File}): | |||
| 2151 | (desktop-save-mode 1) | 2150 | (desktop-save-mode 1) |
| 2152 | @end example | 2151 | @end example |
| 2153 | 2152 | ||
| 2154 | @vindex desktop-auto-save-timeout | ||
| 2155 | @noindent | ||
| 2156 | Emacs then auto-saves the desktop every @code{desktop-auto-save-timeout} | ||
| 2157 | seconds, if that is non-@code{nil} and non-zero. | ||
| 2158 | |||
| 2159 | @findex desktop-change-dir | 2153 | @findex desktop-change-dir |
| 2160 | @findex desktop-revert | 2154 | @findex desktop-revert |
| 2161 | @vindex desktop-path | 2155 | @vindex desktop-path |
| @@ -458,9 +458,8 @@ if your version doesn't support that option. See option `cfengine-cf-promises'. | |||
| 458 | 458 | ||
| 459 | ** Desktop | 459 | ** Desktop |
| 460 | 460 | ||
| 461 | +++ | 461 | *** `desktop-auto-save-timeout' defines the number of seconds idle time |
| 462 | *** By default, the desktop is now auto-saved after `desktop-auto-save-timeout'. | 462 | before auto-save of the desktop. |
| 463 | To disable this, customize that option to nil (or zero). | ||
| 464 | 463 | ||
| 465 | *** `desktop-restore-frames', enabled by default, allows saving and | 464 | *** `desktop-restore-frames', enabled by default, allows saving and |
| 466 | restoring the frame/window configuration (frameset). Additional options | 465 | restoring the frame/window configuration (frameset). Additional options |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cc6e8ac5805..b4391a165d3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,7 +1,5 @@ | |||
| 1 | 2014-02-03 Glenn Morris <rgm@gnu.org> | 1 | 2014-02-03 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * desktop.el (desktop-save-mode): Doc fix. | ||
| 4 | |||
| 5 | * frameset.el (frameset-to-register): | 3 | * frameset.el (frameset-to-register): |
| 6 | * kmacro.el (kmacro-to-register): | 4 | * kmacro.el (kmacro-to-register): |
| 7 | * register.el (increment-register): | 5 | * register.el (increment-register): |
diff --git a/lisp/desktop.el b/lisp/desktop.el index f603a413a82..78ecc2f5376 100644 --- a/lisp/desktop.el +++ b/lisp/desktop.el | |||
| @@ -160,9 +160,7 @@ the mode if ARG is omitted or nil. | |||
| 160 | 160 | ||
| 161 | If Desktop Save mode is enabled, the state of Emacs is saved from | 161 | If Desktop Save mode is enabled, the state of Emacs is saved from |
| 162 | one session to another. See variable `desktop-save' and function | 162 | one session to another. See variable `desktop-save' and function |
| 163 | `desktop-read' for details. | 163 | `desktop-read' for details." |
| 164 | |||
| 165 | For options you can set, browse the `desktop' customization group." | ||
| 166 | :global t | 164 | :global t |
| 167 | :group 'desktop) | 165 | :group 'desktop) |
| 168 | 166 | ||