]> git.eshelyaron.com Git - emacs.git/commit
(desktop-read): Run `desktop-not-loaded-hook' in the directory where the desktop
authorJuanma Barranquero <lekktu@gmail.com>
Sun, 24 Jun 2007 20:03:06 +0000 (20:03 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Sun, 24 Jun 2007 20:03:06 +0000 (20:03 +0000)
commit3ae6b03fe61fa3a458a3bd334b367db98f0f9f7b
treeb8a71584330f429b7cb329228ff05b124ba46238
parent6ede9eeac138cd1d48f55a7e7fdeaeacb69bee9d
(desktop-read): Run `desktop-not-loaded-hook' in the directory where the desktop
file was found, as the docstring says.
(desktop-kill): Use `read-directory-name'.
 (desktop-load-locked-desktop): New option.
(desktop-read): Use it.
(desktop-truncate, desktop-outvar, desktop-restore-file-buffer): Use `when'.
(desktop-save-mode-off): New function.
(desktop-base-lock-name, desktop-not-loaded-hook): New variables.
(desktop-full-lock-name, desktop-file-modtime, desktop-owner,
desktop-claim-lock, desktop-release-lock): New functions.
(desktop-kill): Tell `desktop-save' that this is the last save.
Release the lock afterwards.
(desktop-buffer-info): New function.
(desktop-save): Use it.  Run `desktop-save-hook' where the doc says to.
Detect conflicts, and manage the lock.
(desktop-read): Detect conflicts.  Manage the lock.
lisp/ChangeLog
lisp/desktop.el