From 7b66ce51f497e0ed2f1bb1a36a987bfcd8b54726 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Wed, 26 Nov 2008 20:14:09 +0000 Subject: [PATCH] * dbus.texi (Receiving Method Calls): Precise return values of `dbus-register-method'. --- doc/misc/ChangeLog | 2 +- doc/misc/dbus.texi | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index 693998e0917..55d36c54100 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog @@ -4,7 +4,7 @@ `dbus-escape-as-identifier', `dbus-byte-array-to-string' and `dbus-unescape-from-identifier'. (Receiving Method Calls): New constants `dbus-service-emacs' and - `dbus-path-emacs'. + `dbus-path-emacs'. Precise return values of `dbus-register-method'. (Signals): Use the constants in the example. 2008-11-24 Carsten Dominik diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi index 672ac86f8dd..b93f29a3a65 100644 --- a/doc/misc/dbus.texi +++ b/doc/misc/dbus.texi @@ -1259,6 +1259,9 @@ 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. The default D-Bus timeout when waiting for a message reply is 25 seconds. This value could be even smaller, depending on the calling -- 2.39.2