mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Add handler to desktop-buffer-mode-handlers.
(rmail-restore-desktop-buffer): Remove autoload cookie.
This commit is contained in:
parent
80123c9ecb
commit
695a1fa430
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue