can also be an object, which is not a consp.
+2008-11-26 Michael Albinus <michael.albinus@gmx.de>
+
+ * net/dbus.el (dbus-handle-event): The result of a message call
+ can also be an object, which is not a consp.
+
2008-11-25 Alan Mackenzie <acm@muc.de>
* emacs-lisp/lisp.el (forward-sexp, backward-sexp, mark-sexp)
(when (= dbus-message-type-method-call (nth 2 event))
(dbus-ignore-errors
(apply 'dbus-method-return-internal
- (nth 1 event) (nth 3 event) (nth 4 event) result))))
+ (nth 1 event) (nth 3 event) (nth 4 event)
+ (if (consp result) result (list result))))))
;; Error handling.
(dbus-error
;; Return an error message when it is a message call.