diff options
author | Juri Linkov <juri@jurta.org> | 2013-04-27 23:55:00 +0300 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2013-04-27 23:55:00 +0300 |
commit | 5db9dace2dad8407dd9267513cf73e8688ee2ad7 (patch) | |
tree | 1fe1e5aecaea52154e8c563ad63252efa91bfe7a /etc | |
parent | d7ed9b364adba7fc3c627ccd02f0ab453a23c661 (diff) | |
download | emacs-5db9dace2dad8407dd9267513cf73e8688ee2ad7.tar.gz |
* lisp/desktop.el (desktop-auto-save-timeout): New option.
(desktop-file-checksum): New variable.
(desktop-save): Add optional arg `auto-save' and don't auto-save
if nothing changed.
(desktop-auto-save-timer): New variable.
(desktop-auto-save, desktop-auto-save-set-timer): New functions.
(after-init-hook): Call `desktop-auto-save-set-timer'.
Suggested by Reuben Thomas <rrt@sc3d.org> in
<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -169,6 +169,11 @@ on the given date. *** Support for ISO 8601 dates. +** Desktop + +*** `desktop-auto-save-timeout' defines the number of seconds between +auto-saves of the desktop. + ** Dired *** New minor mode `dired-hide-details-mode' hides details. |