* net/dbus.el: (dbus-property-handler): Return empty array if

there are no properties.
This commit is contained in:
Michael Albinus 2012-03-09 23:06:09 +01:00
parent 95d5e396e2
commit 052e28acfc
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2012-03-09 Michael Albinus <michael.albinus@gmx.de>
* net/dbus.el: (dbus-property-handler): Return empty array if
there are no properties.
2012-03-09 Leo Liu <sdl.web@gmail.com>
* savehist.el (savehist-printable): Stricter check for string

View file

@ -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