mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-01 08:17:38 +00:00
(make_lispy_event): Clear all but 0377 in event->code.
This commit is contained in:
parent
6c5c8bbece
commit
2e3b94e7e9
@ -2234,7 +2234,7 @@ make_lispy_event (event)
|
||||
/* A simple keystroke. */
|
||||
case ascii_keystroke:
|
||||
{
|
||||
int c = XFASTINT (event->code);
|
||||
int c = XFASTINT (event->code) & 0377;
|
||||
/* Turn ASCII characters into control characters
|
||||
when proper. */
|
||||
if (event->modifiers & ctrl_modifier)
|
||||
|
Loading…
Reference in New Issue
Block a user