changeset 64957:6af29505ed84

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 17:35:00 +0000
parents 65d8bcaaafc0
children baff064fbe62
files lisp/info.el
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/info.el	Sun Aug 14 12:43:37 2005 +0000
+++ b/lisp/info.el	Sun Aug 14 17:35:00 2005 +0000
@@ -4194,8 +4194,9 @@
     (Info-find-node first second)
     (current-buffer))))
 
-(add-to-list 'desktop-buffer-mode-handlers
-             '(Info-mode . Info-restore-desktop-buffer))
+(eval-after-load 'desktop
+  '(add-to-list 'desktop-buffer-mode-handlers
+                '(Info-mode . Info-restore-desktop-buffer)))
 
 (provide 'info)