Mercurial > emacs
changeset 97692:2a8cbdcbe61d
* net/dbus.el (dbus-introspect): Use `dbus-call-method-non-blocking'.
author | Michael Albinus <michael.albinus@gmx.de> |
---|---|
date | Sun, 24 Aug 2008 20:15:33 +0000 |
parents | 30f6f3fd47e4 |
children | 2f75d2fff0a6 |
files | lisp/net/dbus.el |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/net/dbus.el Sun Aug 24 20:12:41 2008 +0000 +++ b/lisp/net/dbus.el Sun Aug 24 20:15:33 2008 +0000 @@ -445,9 +445,11 @@ SERVICE must be a known service name, and PATH must be a valid object path. The last two parameters are strings. The result, the introspection data, is a string in XML format." - ;; We don't want to raise errors. + ;; We don't want to raise errors. `dbus-call-method-non-blocking' + ;; is used, because the handler can be registered in our Emacs + ;; instance; caller an callee would block each other. (dbus-ignore-errors - (dbus-call-method + (dbus-call-method-non-blocking bus service path dbus-interface-introspectable "Introspect"))) (defun dbus-introspect-xml (bus service path)