Mercurial > emacs
changeset 64897:2c34662daa03
Add handler to desktop-buffer-mode-handlers.
(rmail-restore-desktop-buffer): Remove autoload cookie.
author | Lars Hansen <larsh@soem.dk> |
---|---|
date | Wed, 10 Aug 2005 19:40:05 +0000 |
parents | a7d19794a559 |
children | 120985a68bd9 |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Wed Aug 10 19:39:51 2005 +0000 +++ b/lisp/mail/rmail.el Wed Aug 10 19:40:05 2005 +0000 @@ -4058,7 +4058,6 @@ ;;;; Desktop support -;;;###autoload (defun rmail-restore-desktop-buffer (desktop-buffer-file-name desktop-buffer-name desktop-buffer-misc) @@ -4073,6 +4072,9 @@ (kill-buffer (current-buffer)) nil))) +(add-to-list 'desktop-buffer-mode-handlers + '(rmail-mode . rmail-restore-desktop-buffer)) + (provide 'rmail) ;;; arch-tag: cff0a950-57fe-4f73-a86e-91ff75afd06c