From: Michael Albinus Date: Thu, 2 Feb 2012 12:47:09 +0000 (+0100) Subject: * dbusbind.c (Fdbus_register_method): Mention the return value X-Git-Tag: emacs-pretest-24.0.94~355 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6bee44d6400c47201de3abfef17b63ce9acfb8c9;p=emacs.git * dbusbind.c (Fdbus_register_method): Mention the return value :ignore in the docstring. --- diff --git a/src/ChangeLog b/src/ChangeLog index 7ccdca9f347..2667f4ce4fe 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2012-02-02 Michael Albinus + + * dbusbind.c (Fdbus_register_method): Mention the return value + :ignore in the docstring. + 2012-02-02 Glenn Morris * callproc.c (Fcall_process, Fcall_process_region): Doc fix. diff --git a/src/dbusbind.c b/src/dbusbind.c index c89867fbae6..ad1a3f3cbe8 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c @@ -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