* net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
This commit is contained in:
parent
b19beacc54
commit
07e52e08b0
2 changed files with 10 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue