Commit 736215fd authored by Michael Albinus's avatar Michael Albinus
Browse files

* net/dbus.el (dbus-introspect): Use `dbus-call-method-non-blocking'.

parent 1266f9ef
2008-08-24 Michael Albinus <michael.albinus@gmx.de>
* net/dbus.el (dbus-introspect): Use `dbus-call-method-non-blocking'.
2008-08-24 Romain Francoise <romain@orebokech.com>
* progmodes/python.el (run-python): Remove '' from sys.path.
......
......@@ -445,9 +445,11 @@ BUS must be either the symbol `:system' or the symbol `:session'.
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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment