emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107542: * net/dbus.el: (dbus-propert


From: Michael Albinus
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107542: * net/dbus.el: (dbus-property-handler): Return empty array if
Date: Fri, 09 Mar 2012 23:06:09 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107542
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Fri 2012-03-09 23:06:09 +0100
message:
  * net/dbus.el: (dbus-property-handler): Return empty array if
  there are no properties.
modified:
  lisp/ChangeLog
  lisp/net/dbus.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-03-09 18:09:46 +0000
+++ b/lisp/ChangeLog    2012-03-09 22:06:09 +0000
@@ -1,3 +1,8 @@
+2012-03-09  Michael Albinus  <address@hidden>
+
+       * net/dbus.el: (dbus-property-handler): Return empty array if
+       there are no properties.
+
 2012-03-09  Leo Liu  <address@hidden>
 
        * savehist.el (savehist-printable): Stricter check for string

=== modified file 'lisp/net/dbus.el'
--- a/lisp/net/dbus.el  2012-01-19 07:21:25 +0000
+++ b/lisp/net/dbus.el  2012-03-09 22:06:09 +0000
@@ -1039,7 +1039,8 @@
                    (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]