summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2013-04-27 23:55:00 +0300
committerJuri Linkov <juri@jurta.org>2013-04-27 23:55:00 +0300
commit5db9dace2dad8407dd9267513cf73e8688ee2ad7 (patch)
tree1fe1e5aecaea52154e8c563ad63252efa91bfe7a /etc
parentd7ed9b364adba7fc3c627ccd02f0ab453a23c661 (diff)
downloademacs-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f6335d314eb..0a8cf2c0325 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.