Mercurial > emacs
comparison lisp/net/dbus.el @ 104377:4bc9f7b48912
* net/dbus.el (top): Don't check for (getenv
"DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Thu, 20 Aug 2009 15:24:44 +0000 |
parents | 0626d17129e9 |
children | 20810cc73f89 |
comparison
equal
deleted
inserted
replaced
104376:972ea325dfa4 | 104377:4bc9f7b48912 |
---|---|
834 | 834 |
835 ;; Initialize :system and :session buses. This adds their file | 835 ;; Initialize :system and :session buses. This adds their file |
836 ;; descriptors to input_wait_mask, in order to detect incoming | 836 ;; descriptors to input_wait_mask, in order to detect incoming |
837 ;; messages immediately. | 837 ;; messages immediately. |
838 (dbus-ignore-errors | 838 (dbus-ignore-errors |
839 (when (getenv "DBUS_SESSION_BUS_ADDRESS") | 839 (dbus-init-bus :system) |
840 (dbus-init-bus :system) | 840 (dbus-init-bus :session)) |
841 (dbus-init-bus :session))) | |
842 | 841 |
843 (provide 'dbus) | 842 (provide 'dbus) |
844 | 843 |
845 ;; arch-tag: a47caf84-9162-4811-90cc-5d388e37b9bd | 844 ;; arch-tag: a47caf84-9162-4811-90cc-5d388e37b9bd |
846 ;;; dbus.el ends here | 845 ;;; dbus.el ends here |