changeset 55063:1eb670bf661a

*** empty log message ***
author Lars Hansen <larsh@soem.dk>
date Wed, 21 Apr 2004 21:01:13 +0000
parents 44fb4d4fdf7b
children 215f0bc58b67
files lisp/ChangeLog
diffstat 1 files changed, 42 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Apr 21 21:00:33 2004 +0000
+++ b/lisp/ChangeLog	Wed Apr 21 21:01:13 2004 +0000
@@ -1,3 +1,45 @@
+2004-04-21  Lars Hansen  <larsh@math.ku.dk>
+	
+	* desktop.el (desktop-buffer-mode-handlers): New variabel. Alist
+	of major mode specific functions to restore a desktop buffer.
+	(desktop-buffer-handlers): Make variabel obsolete.
+	(desktop-create-buffer): Use desktop-buffer-mode-handlers. Catch
+	errors signaled in handlers. Update buffer count. Evaluate
+	desktop-buffer-point.
+	(desktop-buffer-dired): Rename to dired-restore-desktop-buffer and
+	move to dired.el.
+	(desktop-buffer-info): Rename to Info-restore-desktop-buffer and
+	move to info.el.
+	(desktop-buffer-rmail): Rename to rmail-restore-desktop-buffer and
+	move to mail/rmail.el.
+	(desktop-buffer-mh): Rename to mh-restore-desktop-buffer and move
+	to mh-e/mh-e.el.
+	(desktop-buffer-file): Rename to desktop-restore-file-buffer. An
+	fail, print message (to message buffer) even if
+	desktop-missing-file-warning is nil.
+	(desktop-buffer-misc-data-function): New buffer local
+	variable. Function returning major mode specific data.
+	(desktop-buffer-misc-functions): Make variable obsolete.
+	(desktop-save): Use desktop-buffer-misc-data-function.
+	(desktop-buffer-dired-misc-data): Rename to
+	dired-desktop-buffer-misc-data and move to dired.el.
+	(desktop-buffer-info-misc-data): Rename to
+	Info-desktop-buffer-misc-data and move to info.el.
+	(desktop-read): Add message about number of buffers
+	restored/failed.
+	* dired.el (dired-restore-desktop-buffer) Move from
+	desktop.el. Add parameters. Pause to display error only when
+	desktop-missing-file-warning is non-nil.
+	(dired-desktop-buffer-misc-data): Move from desktop.el. Add
+	parameter.
+	* info.el (Info-restore-desktop-buffer): Move from
+	desktop.el. Add Parameters.
+	(Info-desktop-buffer-misc-data): Move from desktop.el. Add parameter.
+	* mail/rmail.el (rmail-restore-desktop-buffer): Move from
+	desktop.el. Add Parameters.
+	* mh-e/mh-e.el (mh-restore-desktop-buffer): Move from
+	desktop.el. Add Parameters.
+
 2003-04-21  Paul Pogonyshev  <pogonyshev@gmx.net>
 
 	* dabbrev.el (dabbrev--substitute-expansion): Fix a bug which lost