Mercurial > emacs
diff src/keyboard.c @ 18778:7626e0d30719
(make_lispy_event): Distinguish S-SPC from SPC.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 14 Jul 1997 19:36:01 +0000 |
parents | c5e0b32380c1 |
children | c24b5da01b1f |
line wrap: on
line diff
--- a/src/keyboard.c Mon Jul 14 19:26:48 1997 +0000 +++ b/src/keyboard.c Mon Jul 14 19:36:01 1997 +0000 @@ -3699,6 +3699,10 @@ 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;