Commit 07e52e08 authored by Michael Albinus's avatar Michael Albinus

* net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.

parent b19beacc
2011-02-07 Michael Albinus <michael.albinus@gmx.de>
* net/dbus.el (dbus-list-activatable-names): Add optional argument
BUS.
2011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
* net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
......
......@@ -506,13 +506,14 @@ well formed."
;;; D-Bus registered names.
(defun dbus-list-activatable-names ()
(defun dbus-list-activatable-names (&optional bus)
"Return the D-Bus service names which can be activated as list.
The result is a list of strings, which is `nil' when there are no
activatable service names at all."
If BUS is left nil, `:system' is assumed. The result is a list
of strings, which is `nil' when there are no activatable service
names at all."
(dbus-ignore-errors
(dbus-call-method
:system dbus-service-dbus
(or bus :system) dbus-service-dbus
dbus-path-dbus dbus-interface-dbus "ListActivatableNames")))
(defun dbus-list-names (bus)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment