all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* desktop mode, periodic save
@ 2008-02-01 16:07 Xah Lee
  2008-02-10 20:54 ` Xah
  0 siblings, 1 reply; 5+ messages in thread
From: Xah Lee @ 2008-02-01 16:07 UTC (permalink / raw)
  To: help-gnu-emacs

I use desktop mode, so that in case of crashing (emacs or OS), i can
know which files i was working on or needs to work on.

However, by default, the desktop mode doesn't seems to save
periodically, so that when OS crash, i lost the info about which files
that was open or needs to work on.

I'm doing this as a solution:

(desktop-save-mode 1)

(add-hook 'find-file-hook (lambda () (desktop-save "~/")))

Is there a variable that i should use instead?

thx.

  Xah
  xah@xahlee.org
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-28 21:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 16:07 desktop mode, periodic save Xah Lee
2008-02-10 20:54 ` Xah
2008-02-28 18:01   ` Xah
2008-02-28 21:21     ` Thorsten Bonow
2008-02-28 21:45     ` Lowell Gilbert

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.