From: Michael Albinus Date: Mon, 27 May 2013 12:41:17 +0000 (+0200) Subject: * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay' X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~2026^2~172 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dde84790b7308d745d1cf635e1dc43c834d1b7bf;p=emacs.git * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay' when reading the events; the buffer layout shall not be changed. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1163711a878..05360ad63da 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2013-05-27 Michael Albinus + + * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay' + when reading the events; the buffer layout shall not be changed. + 2013-05-27 Leo Liu * progmodes/octave.el (inferior-octave-directory-tracker-resync): diff --git a/lisp/net/dbus.el b/lisp/net/dbus.el index cf2cd0f311b..94a906122fe 100644 --- a/lisp/net/dbus.el +++ b/lisp/net/dbus.el @@ -270,7 +270,8 @@ object is returned instead of a list containing this single Lisp object. ;; default 25". Events which are not from D-Bus must be restored. (with-timeout ((if timeout (/ timeout 1000.0) 25)) (while (eq (gethash key dbus-return-values-table :ignore) :ignore) - (let ((event (let (unread-command-events) (read-event nil nil 0.1)))) + (let ((event (let ((inhibit-redisplay t) unread-command-events) + (read-event nil nil 0.1)))) (when (and event (not (ignore-errors (dbus-check-event event)))) (setq unread-command-events (append unread-command-events (list event)))))))