# HG changeset patch # User Michael Albinus # Date 1250837004 0 # Node ID 20810cc73f890103dc2b186e3d9b9852bc0bad48 # Parent c6bb324927301a71ff7a4ea49355965b82e0e497 * net/dbus.el (top): Initialize only when `dbusbind' is loaded. diff -r c6bb32492730 -r 20810cc73f89 lisp/net/dbus.el --- a/lisp/net/dbus.el Fri Aug 21 06:19:23 2009 +0000 +++ b/lisp/net/dbus.el Fri Aug 21 06:43:24 2009 +0000 @@ -835,9 +835,10 @@ ;; 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)