|
| From: | Stefan Monnier |
| Subject: | bug#11447: 24.1.50; notifications-notify eats keystrokes |
| Date: | Fri, 11 May 2012 09:24:52 -0400 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) |
> (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))))
> ! (when (and event (not (ignore-errors (dbus-check-event event))))
> ! (setq unread-command-events
> ! (append unread-command-events (list event)))))))
Shouldn't this code use input-pending-p instead?
Stefan
| [Prev in Thread] | Current Thread | [Next in Thread] |