diff options
author | Michael Albinus <michael.albinus@gmx.de> | 2012-03-09 23:06:09 +0100 |
---|---|---|
committer | Michael Albinus <michael.albinus@gmx.de> | 2012-03-09 23:06:09 +0100 |
commit | 052e28acfcae37d8108fa195890482cc7f2ddaa1 (patch) | |
tree | d6429d940c5b985eaf9b2d5cb644800c043ae57c /lisp/net/dbus.el | |
parent | 95d5e396e280d96e4b1ba0fc222992b6661b0572 (diff) | |
download | emacs-052e28acfcae37d8108fa195890482cc7f2ddaa1.tar.gz |
* net/dbus.el: (dbus-property-handler): Return empty array if
there are no properties.
Diffstat (limited to 'lisp/net/dbus.el')
-rw-r--r-- | lisp/net/dbus.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el index fbc83bf1df0..feef78a305f 100644 --- a/lisp/net/dbus.el +++ b/lisp/net/dbus.el @@ -1039,7 +1039,8 @@ It will be registered for all objects created by `dbus-register-object'." (car (last key)) (list :variant (cdar (last (car val)))))))) dbus-registered-objects-table) - (list result)))))) + ;; Return the result, or an empty array. + (list :array (or result '(:signature "{sv}")))))))) ;; Initialize :system and :session buses. This adds their file |