]> code.delx.au - gnu-emacs/commitdiff
* dbus.texi (Receiving Method Calls): Precise return values of
authorMichael Albinus <michael.albinus@gmx.de>
Wed, 26 Nov 2008 20:14:09 +0000 (20:14 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 26 Nov 2008 20:14:09 +0000 (20:14 +0000)
  `dbus-register-method'.

doc/misc/ChangeLog
doc/misc/dbus.texi

index 693998e0917bb28ca7b8fc3e63660ee84414380f..55d36c54100f9ab004574656e8241e5bec93643e 100644 (file)
@@ -4,7 +4,7 @@
        `dbus-escape-as-identifier', `dbus-byte-array-to-string' and
        `dbus-unescape-from-identifier'.
        (Receiving Method Calls): New constants `dbus-service-emacs' and
-       `dbus-path-emacs'.
+       `dbus-path-emacs'.  Precise return values of `dbus-register-method'.
        (Signals): Use the constants in the example.
 
 2008-11-24  Carsten Dominik  <dominik@science.uva.nl>
index 672ac86f8dda00c683c97ac55b3e319305cd0dbc..b93f29a3a65ed858248eb7bf5f0799f27a53c056 100644 (file)
@@ -1259,6 +1259,9 @@ call is is received.  It must accept as arguments the input arguments
 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