Mercurial > emacs
changeset 64959:3423c3c7a8b9
Fix dependency bug: Wrap `desktop-buffer-mode-handlers'
modification in `eval-after-load' form.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Sun, 14 Aug 2005 22:50:04 +0000 |
parents | baff064fbe62 |
children | f9611730d895 |
files | lisp/mail/rmail.el |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/mail/rmail.el Sun Aug 14 17:36:02 2005 +0000 +++ b/lisp/mail/rmail.el Sun Aug 14 22:50:04 2005 +0000 @@ -4086,8 +4086,9 @@ (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)