* net/dbus.el (dbus-property-handler): Filter lambda forms out
authorMichael Albinus <michael.albinus@gmx.de>
Sat, 12 Dec 2009 19:18:33 +0000 (19:18 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Sat, 12 Dec 2009 19:18:33 +0000 (19:18 +0000)
when responding to "GetAll" properties.

lisp/ChangeLog
lisp/net/dbus.el

index 25869e3..fa6cd86 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/dbus.el (dbus-property-handler): Filter lambda forms out
+       when responding to "GetAll" properties.
+
 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
 
        * simple.el (compose-mail): Remove mail-setup-with-from from
index 49abca0..2a1bd04 100644 (file)
@@ -954,7 +954,7 @@ It will be registered for all objects created by `dbus-register-object'."
         (lambda (key val)
           (when (and (equal (butlast key) (list bus interface))
                      (string-equal path (nth 2 (car val)))
-                     (consp (car (last (car val)))))
+                     (not (functionp (car (last (car val))))))
             (add-to-list
              'result
              (list :dict-entry