]> git.eshelyaron.com Git - emacs.git/commit
Handle unread-command-events consistently (bug#23980)
authorChris Feng <chris.w.feng@gmail.com>
Tue, 7 Nov 2017 16:39:43 +0000 (00:39 +0800)
committerChris Feng <chris.w.feng@gmail.com>
Tue, 7 Nov 2017 16:39:43 +0000 (00:39 +0800)
commit1f3f4b1296613b8cdc0632a68fde86e86ddad866
tree4bf72904b16f3191209b4a5abcc41319110802dd
parentc6b95584fc888bf566d42847d78447ddea60972a
Handle unread-command-events consistently (bug#23980)

* src/keyboard.c (read_char): Events put into `unread-command-events'
with the form (t . EVENT) should always have the t stripped when read
out.
* test/src/keyboard-tests.el: New tests for `unread-command-events'.
src/keyboard.c
test/src/keyboard-tests.el [new file with mode: 0644]