+2009-08-21 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
+
2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
* loadup.el: Remove leftover macos code.
;; Initialize :system and :session buses. This adds their file
;; descriptors to input_wait_mask, in order to detect incoming
;; messages immediately.
-(dbus-ignore-errors
- (dbus-init-bus :system)
- (dbus-init-bus :session))
+(when (featurep 'dbusbind)
+ (dbus-ignore-errors
+ (dbus-init-bus :system)
+ (dbus-init-bus :session)))
(provide 'dbus)