1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-06 11:55:48 +00:00

* net/dbus.el (top): Initialize only when `dbusbind' is loaded.

This commit is contained in:
Michael Albinus 2009-08-21 06:45:22 +00:00
parent bcc5db2443
commit 9e84652313
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -835,9 +835,10 @@ name of the property, and its value. If there are no properties,
;; 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)