modification in `eval-after-load' form.
+2005-08-14 Thien-Thi Nguyen <ttn@gnu.org>
+
+ * dired.el: Fix dependency bug: Wrap `desktop-buffer-mode-handlers'
+ modification in `eval-after-load' form.
+
2005-08-14 Juri Linkov <juri@jurta.org>
* progmodes/compile.el (compilation-mode-font-lock-keywords):
(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)))
\f
(if (eq system-type 'vax-vms)