Mercurial > emacs
changeset 104307:562b1d80843b
* dbus.texi (Asynchronous Methods): Allow nil handler.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Sun, 16 Aug 2009 17:48:45 +0000 |
parents | 69b67a46e5b2 |
children | 7cd53bf321fb |
files | doc/misc/dbus.texi |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/misc/dbus.texi Sun Aug 16 17:35:44 2009 +0000 +++ b/doc/misc/dbus.texi Sun Aug 16 17:48:45 2009 +0000 @@ -1189,7 +1189,8 @@ an interface offered by @var{service}. It must provide @var{method}. @var{handler} is a Lisp function, which is called when the -corresponding return message has arrived. +corresponding return message has arrived. If @var{handler} is +@code{nil}, no return message will be expected. If the parameter @code{:timeout} is given, the following integer @var{timeout} specifies the maximum number of milliseconds a reply @@ -1201,10 +1202,10 @@ They are converted into D-Bus types as described in @ref{Type Conversion}. -The function returns a key into the hash table -@code{dbus-registered-functions-table}. The corresponding entry in -the hash table is removed, when the return message has been arrived, -and @var{handler} is called. Example: +Unless @var{handler} is @code{nil}, the function returns a key into +the hash table @code{dbus-registered-functions-table}. The +corresponding entry in the hash table is removed, when the return +message has been arrived, and @var{handler} is called. Example: @lisp (dbus-call-method-asynchronously