aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2011-02-07 09:01:15 +0100
committerMichael Albinus2011-02-07 09:01:15 +0100
commit07e52e08b0f120da48c8cd8e6e5bb4ef47f4ec38 (patch)
tree26a530f066c1bebf1e6c55a4c3fce8876a39759a
parentb19beacc5491758e57e2afb890aa9fdd696a9e0e (diff)
downloademacs-07e52e08b0f120da48c8cd8e6e5bb4ef47f4ec38.tar.gz
emacs-07e52e08b0f120da48c8cd8e6e5bb4ef47f4ec38.zip
* net/dbus.el (dbus-list-activatable-names): Add optional argument BUS.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/net/dbus.el9
2 files changed, 10 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 40f91cfee7e..8d4a82ea8cc 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12011-02-07 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/dbus.el (dbus-list-activatable-names): Add optional argument
4 BUS.
5
12011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> 62011-02-07 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2 7
3 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507). 8 * net/rcirc.el (rcirc-handler-317): New function (Bug#6507).
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el
index 43215003ef7..05c7af2a8c3 100644
--- a/lisp/net/dbus.el
+++ b/lisp/net/dbus.el
@@ -506,13 +506,14 @@ well formed."
506 506
507;;; D-Bus registered names. 507;;; D-Bus registered names.
508 508
509(defun dbus-list-activatable-names () 509(defun dbus-list-activatable-names (&optional bus)
510 "Return the D-Bus service names which can be activated as list. 510 "Return the D-Bus service names which can be activated as list.
511The result is a list of strings, which is `nil' when there are no 511If BUS is left nil, `:system' is assumed. The result is a list
512activatable service names at all." 512of strings, which is `nil' when there are no activatable service
513names at all."
513 (dbus-ignore-errors 514 (dbus-ignore-errors
514 (dbus-call-method 515 (dbus-call-method
515 :system dbus-service-dbus 516 (or bus :system) dbus-service-dbus
516 dbus-path-dbus dbus-interface-dbus "ListActivatableNames"))) 517 dbus-path-dbus dbus-interface-dbus "ListActivatableNames")))
517 518
518(defun dbus-list-names (bus) 519(defun dbus-list-names (bus)