changeset 100008:caa9c8dbbeb0

(Receiving Method Calls): Clean up previous change.
author Richard M. Stallman <rms@gnu.org>
date Fri, 28 Nov 2008 14:47:54 +0000
parents e99a24e60b05
children 27e73e747393
files doc/misc/dbus.texi
diffstat 1 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/doc/misc/dbus.texi	Fri Nov 28 13:26:43 2008 +0000
+++ b/doc/misc/dbus.texi	Fri Nov 28 14:47:54 2008 +0000
@@ -1254,14 +1254,16 @@
 @var{interface} is the interface offered by @var{service}.  It must
 provide @var{method}.
 
-@var{handler} is a Lisp function to be called when when a @var{method}
-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.
+@var{handler} is a Lisp function to be called when a @var{method} call
+is received.  It must accept as arguments the input arguments of
+@var{method}.  @var{handler} should return a list, whose elements are
+to be used as arguments for the reply message of @var{method}.  This
+list can be composed like the input parameters in @ref{Type
+Conversion}.
+
+If @var{handler} wants to return just one Lisp object and it is not a
+cons cell, @var{handler} can return this object directly, instead of
+returning a list containing the 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