changeset 99966:cd82ae256e46

* dbus.texi (Receiving Method Calls): Precise return values of `dbus-register-method'.
author Michael Albinus <michael.albinus@gmx.de>
date Wed, 26 Nov 2008 20:13:50 +0000
parents df75ffc11cac
children eb46f9cbb4a0
files doc/misc/dbus.texi
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/misc/dbus.texi	Wed Nov 26 16:11:58 2008 +0000
+++ b/doc/misc/dbus.texi	Wed Nov 26 20:13:50 2008 +0000
@@ -1259,6 +1259,9 @@
 of @var{method}.  @var{handler} must return a list, which elements are
 used as arguments for the reply message of @var{method}.  This list
 can be composed like the input parameters in @ref{Type Conversion}.
+If only one Lisp object is returned, and this object is not a consp,
+then @var{handler} can return this object directly, instead of of list
+of this object.
 
 The default D-Bus timeout when waiting for a message reply is 25
 seconds.  This value could be even smaller, depending on the calling