aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus <[email protected]>2008-01-21 20:01:19 +0000
committerMichael Albinus <[email protected]>2008-01-21 20:01:19 +0000
commitd2e4a6c90428e7bce7ee7d71e2cc5b2ee0ee40d9 (patch)
treea3f7dfa60de8182a9db2277a677abe7438792a35 /doc
parentd405bc15fc6e676f2c6af2afd06cf7c730f0f82d (diff)
* dbus.texi (Errors and Events): New macro dbus-ignore-errors.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/ChangeLog4
-rw-r--r--doc/misc/dbus.texi12
2 files changed, 13 insertions, 3 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog
index a69f32a976..47e521f537 100644
--- a/doc/misc/ChangeLog
+++ b/doc/misc/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-21 Michael Albinus <[email protected]>
+
+ * dbus.texi (Errors and Events): New macro dbus-ignore-errors.
+
2008-01-18 Katsumi Yamaoka <[email protected]>
* gnus-news.texi: Mention gnus-article-describe-bindings.
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi
index 506716e8d9..27550337b3 100644
--- a/doc/misc/dbus.texi
+++ b/doc/misc/dbus.texi
@@ -674,9 +674,15 @@ there is a type mismatch, the Lisp error @code{wrong-type-argument}
@code{D-Bus ARG} is raised.
All errors raised by D-Bus are signaled with the error symbol
-@code{dbus-error}. As usual, such an error can be trapped with a
-@code{condition-case} form. If possible, error messages from D-Bus
-are appended to the @code{dbus-error}.
+@code{dbus-error}. If possible, error messages from D-Bus are
+appended to the @code{dbus-error}.
+
+@defspec dbus-ignore-errors forms@dots{}
+This executes @var{forms} exactly like a @code{progn}, except that
+@code{dbus-error} errors are ignored during the @var{forms}. These
+errors can be made visible when variable @code{dbus-debug} is set to
+@code{t}.
+@end defspec
Incoming D-Bus messages are handled as Emacs events (see @pxref{Misc
Events, , , elisp}). The generated event has this form: