summaryrefslogtreecommitdiff
path: root/lisp/net
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/dbus.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el
index 49abca0ac38..2a1bd043080 100644
--- a/lisp/net/dbus.el
+++ b/lisp/net/dbus.el
@@ -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