Mercurial > emacs
changeset 87883:af599a62c634
* dbus.texi (Errors and Events): New macro dbus-ignore-errors.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Mon, 21 Jan 2008 20:00:50 +0000 |
parents | bbccb309c637 |
children | 437576d899fc |
files | doc/misc/dbus.texi |
diffstat | 1 files changed, 9 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/misc/dbus.texi Mon Jan 21 19:48:56 2008 +0000 +++ b/doc/misc/dbus.texi Mon Jan 21 20:00:50 2008 +0000 @@ -674,9 +674,15 @@ @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: