diff options
author | David Kastrup <dak@gnu.org> | 2015-01-28 11:53:54 +0100 |
---|---|---|
committer | David Kastrup <dak@gnu.org> | 2015-08-12 19:21:29 +0200 |
commit | ad0b6dd05a1a782dc12e921fc077aef46698e063 (patch) | |
tree | aaf012106f40201fdfe031324c10021fe6c43897 /lisp/emacs-lisp/ert.el | |
parent | b367d7fc7b234bb98b330ac61bf35372f0f0acae (diff) | |
download | emacs-ad0b6dd05a1a782dc12e921fc077aef46698e063.tar.gz |
Deal gracefully with up-events (Bug#19746)
* keyboard.c (apply_modifiers_uncached, parse_solitary_modifier)
(parse_modifiers_uncached): React gracefully to "up-" modifiers:
those may easily be injected by user-level Lisp code.
(read_key_sequence): Discard unbound up-events like unbound
down-events: they are even more likely only relevant for special
purposes.
While Emacs will not produce up-events on its own currently (those are
converted to drag or click events before being converted to
Lisp-readable structures), the input queue can be made to contain them
by synthesizing events to `unread-command-events'. Emacs should deal
consistently with such events.
Diffstat (limited to 'lisp/emacs-lisp/ert.el')
0 files changed, 0 insertions, 0 deletions