[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-commit] emacs/lisp desktop.el [EMACS_22_BASE]
From: |
Juanma Barranquero |
Subject: |
[Emacs-commit] emacs/lisp desktop.el [EMACS_22_BASE] |
Date: |
Sun, 24 Jun 2007 20:00:04 +0000 |
CVSROOT: /cvsroot/emacs
Module name: emacs
Branch: EMACS_22_BASE
Changes by: Juanma Barranquero <lektu> 07/06/24 20:00:04
Modified files:
lisp : desktop.el
Log message:
(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.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/desktop.el?cvsroot=emacs&only_with_tag=EMACS_22_BASE&r1=1.108.2.1&r2=1.108.2.2