|
From: | Reuben Thomas |
Subject: | Re: desktop.el: autosave? |
Date: | Wed, 10 Apr 2013 11:57:27 +0100 |
> I've been happily using essentially the above code (mostly Juri's, with aThe problem is that the time interval to run auto-save-hook is
> handful of lines by me) since this thread went quiet over five years ago.
not configurable exclusively for desktop mode. If a user wants
to auto-save the desktop less often than to auto-save files
there is no way to do this.
OTOH, I like the simplicity of the auto-saving feature in savehist
that uses just one option `savehist-autosave-interval' to configure the
interval between autosaves, or nil to disable timer-based auto-saving.
Savehist uses `run-with-timer'. Why not to do the same in desktop mode?
What are the problems with using `run-with-timer'?
[Prev in Thread] | Current Thread | [Next in Thread] |