* dbusbind.c (Fdbus_register_method): Mention the return value
authorMichael Albinus <michael.albinus@gmx.de>
Thu, 2 Feb 2012 12:47:09 +0000 (13:47 +0100)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 2 Feb 2012 12:47:09 +0000 (13:47 +0100)
:ignore in the docstring.

src/ChangeLog
src/dbusbind.c

index 7ccdca9..2667f4c 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-02  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbusbind.c (Fdbus_register_method): Mention the return value
+       :ignore in the docstring.
+
 2012-02-02  Glenn Morris  <rgm@gnu.org>
 
        * callproc.c (Fcall_process, Fcall_process_region): Doc fix.
index c89867f..ad1a3f3 100644 (file)
@@ -2162,10 +2162,13 @@ DONT-REGISTER-SERVICE below).
 
 PATH is the D-Bus object path SERVICE is registered (See discussion of
 DONT-REGISTER-SERVICE below).  INTERFACE is the interface offered by
-SERVICE.  It must provide METHOD.  HANDLER is a Lisp function to be
-called when a method call is received.  It must accept the input
-arguments of METHOD.  The return value of HANDLER is used for
-composing the returning D-Bus message.
+SERVICE.  It must provide METHOD.
+
+HANDLER is a Lisp function to be called when a method call is
+received.  It must accept the input arguments of METHOD.  The return
+value of HANDLER is used for composing the returning D-Bus message.
+In case HANDLER shall return a reply message with an empty argument
+list, HANDLER must return the symbol `:ignore'.
 
 When DONT-REGISTER-SERVICE is non-nil, the known name SERVICE is not
 registered.  This means that other D-Bus clients have no way of