]> git.eshelyaron.com Git - emacs.git/commit
Ignore BUFFER_SWITCH_EVENT events for the purposes of input-pending-p.
authorEli Zaretskii <eliz@gnu.org>
Sat, 1 Nov 2014 14:22:32 +0000 (16:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 1 Nov 2014 14:22:32 +0000 (16:22 +0200)
commit614beeecf29d16c08f66a4f82b6085be90df8a74
tree3ae85ea2a061cbc7ba10030668c02292cbd6c0c0
parent711066c8c14c8bd2b7ca88fda3d9847b6622b148
Ignore BUFFER_SWITCH_EVENT events for the purposes of input-pending-p.

 src/keyboard.c (readable_events): When FLAGS include
 READABLE_EVENTS_FILTER_EVENTS, ignore BUFFER_SWITCH_EVENT events.
 This avoids returning non-nil from input-pending-p when only such
 events are in the queue.

Fixes: debbugs:18856
src/ChangeLog
src/keyboard.c