]> git.eshelyaron.com Git - emacs.git/commitdiff
* dbus.texi (Errors and Events): New macro dbus-ignore-errors.
authorMichael Albinus <michael.albinus@gmx.de>
Mon, 21 Jan 2008 20:01:19 +0000 (20:01 +0000)
committerMichael Albinus <michael.albinus@gmx.de>
Mon, 21 Jan 2008 20:01:19 +0000 (20:01 +0000)
doc/misc/ChangeLog
doc/misc/dbus.texi

index a69f32a976ec07855cfd61080c2489b9b356cf54..47e521f537c92a9e2ac88b7adeb7f55001d5c21b 100644 (file)
@@ -1,3 +1,7 @@
+2008-01-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       * dbus.texi (Errors and Events): New macro dbus-ignore-errors.
+
 2008-01-18  Katsumi Yamaoka  <yamaoka@jpl.org>
 
        * gnus-news.texi: Mention gnus-article-describe-bindings.
index 506716e8d921c059f77930389253788dc10ad69f..27550337b39e64bf5871bdd42b29a1144264de28 100644 (file)
@@ -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: