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:
parent
2fb9049ef0
commit
32454a9ff2
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue