mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
Add handler to desktop-buffer-mode-handlers.
(rmail-restore-desktop-buffer): Remove autoload cookie.
This commit is contained in:
parent
80123c9ecb
commit
695a1fa430
@ -4058,7 +4058,6 @@ encoded string (and the same mask) will decode the string."
|
||||
|
||||
;;;; Desktop support
|
||||
|
||||
;;;###autoload
|
||||
(defun rmail-restore-desktop-buffer (desktop-buffer-file-name
|
||||
desktop-buffer-name
|
||||
desktop-buffer-misc)
|
||||
@ -4073,6 +4072,9 @@ encoded string (and the same mask) will decode the string."
|
||||
(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
|
||||
|
Loading…
Reference in New Issue
Block a user