Commit 8fbee87c authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen
Browse files

Fix dependency bug: Wrap `desktop-buffer-mode-handlers'

modification in `eval-after-load' form.
parent 7806e573
......@@ -3,6 +3,7 @@
* dired.el: Fix dependency bug: Wrap `desktop-buffer-mode-handlers'
modification in `eval-after-load' form.
* info.el: Likewise.
* mail/rmail.el: Likewise.
 
2005-08-14 Juri Linkov <juri@jurta.org>
 
......
......@@ -4086,8 +4086,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))
(eval-after-load 'desktop
'(add-to-list 'desktop-buffer-mode-handlers
'(rmail-mode . rmail-restore-desktop-buffer)))
(provide 'rmail)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment