aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus <[email protected]>2008-11-26 20:14:09 +0000
committerMichael Albinus <[email protected]>2008-11-26 20:14:09 +0000
commit7b66ce51f497e0ed2f1bb1a36a987bfcd8b54726 (patch)
tree3ee377407485138f07c0525301a77c3c30548ba8 /doc
parent2674569bd519c4e489ed39d67b5c41bc86d45e93 (diff)
* dbus.texi (Receiving Method Calls): Precise return values of
`dbus-register-method'.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog2
-rw-r--r--doc/misc/dbus.texi3
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index 693998e091..55d36c5410 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 <[email protected]>
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi
index 672ac86f8d..b93f29a3a6 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