Mercurial > emacs
diff lisp/dired.el @ 64955:dfba32942470
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 12:40:02 +0000 |
parents | aee8ba4e5b1a |
children | 1fa57fbe3d5f |
line wrap: on
line diff
--- a/lisp/dired.el Sun Aug 14 10:03:15 2005 +0000 +++ b/lisp/dired.el Sun Aug 14 12:40:02 2005 +0000 @@ -3292,8 +3292,9 @@ (when desktop-missing-file-warning (sit-for 1)) nil))) -(add-to-list 'desktop-buffer-mode-handlers - '(dired-mode . dired-restore-desktop-buffer)) +(eval-after-load 'desktop + '(add-to-list 'desktop-buffer-mode-handlers + '(dired-mode . dired-restore-desktop-buffer))) (if (eq system-type 'vax-vms)