]> code.delx.au - gnu-emacs/blobdiff - lisp/net/dbus.el
Add comment for last change.
[gnu-emacs] / lisp / net / dbus.el
index 94a906122fe9a5313e141f3c05c2ab2c96ac60a5..0e9c4fc5c764ccb669fc61470249c6a2f5137816 100644 (file)
@@ -268,6 +268,8 @@ object is returned instead of a list containing this single Lisp object.
     ;; Wait until `dbus-call-method-handler' has put the result into
     ;; `dbus-return-values-table'.  If no timeout is given, use the
     ;; default 25".  Events which are not from D-Bus must be restored.
+    ;; `read-event' performs a redisplay.  This must be suppressed; it
+    ;; hurts when reading D-Bus events asynchronously.
     (with-timeout ((if timeout (/ timeout 1000.0) 25))
       (while (eq (gethash key dbus-return-values-table :ignore) :ignore)
        (let ((event (let ((inhibit-redisplay t) unread-command-events)