]> git.eshelyaron.com Git - emacs.git/commit
Backport: 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)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 19 Dec 2018 16:06:37 +0000 (18:06 +0200)
commit305aca0a0abbac1011980e6ac9b166bd0dfd6ff0
tree99ae6ca92fcf5a6773d64041a571dd68efe7960c
parent4c6c327d0c66a21416ed1b5e9738b7dd13e739f2
Backport: 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'.

(cherry picked from commit 1f3f4b1296613b8cdc0632a68fde86e86ddad866)
src/keyboard.c
test/src/keyboard-tests.el [new file with mode: 0644]