emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r107066: * dbusbind.c (Fdbus_register


From: Michael Albinus
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r107066: * dbusbind.c (Fdbus_register_method): Mention the return value
Date: Thu, 02 Feb 2012 13:47:09 +0100
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107066
committer: Michael Albinus <address@hidden>
branch nick: trunk
timestamp: Thu 2012-02-02 13:47:09 +0100
message:
  * dbusbind.c (Fdbus_register_method): Mention the return value
  :ignore in the docstring.
modified:
  src/ChangeLog
  src/dbusbind.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2012-02-02 09:12:08 +0000
+++ b/src/ChangeLog     2012-02-02 12:47:09 +0000
@@ -1,3 +1,8 @@
+2012-02-02  Michael Albinus  <address@hidden>
+
+       * dbusbind.c (Fdbus_register_method): Mention the return value
+       :ignore in the docstring.
+
 2012-02-02  Glenn Morris  <address@hidden>
 
        * callproc.c (Fcall_process, Fcall_process_region): Doc fix.

=== modified file 'src/dbusbind.c'
--- a/src/dbusbind.c    2012-01-19 07:21:25 +0000
+++ b/src/dbusbind.c    2012-02-02 12:47:09 +0000
@@ -2162,10 +2162,13 @@
 
 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]