1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00

(make_lispy_event): Distinguish S-SPC from SPC.

This commit is contained in:
Richard M. Stallman 1997-07-14 19:36:01 +00:00
parent 2fb9049ef0
commit 32454a9ff2

View file

@ -3699,6 +3699,10 @@ make_lispy_event (event)
c |= (event->modifiers
& (meta_modifier | alt_modifier
| hyper_modifier | super_modifier));
/* Distinguish Shift-SPC from SPC. */
if ((event->code & 0377) == 040
&& event->modifiers & shift_modifier)
c |= shift_modifier;
button_down_time = 0;
XSETFASTINT (lispy_c, c);
return lispy_c;