diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-07-14 19:36:01 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-07-14 19:36:01 +0000 |
commit | e05b5d375cc07f61530f938e725357e85b25ca31 (patch) | |
tree | f5404e4bfc441190f91d4c8bb00e58caca74e1a2 /src/keyboard.c | |
parent | 9cee153ea76856757bd8adabdfb70101a07b6e0e (diff) | |
download | emacs-e05b5d375cc07f61530f938e725357e85b25ca31.tar.gz |
(make_lispy_event): Distinguish S-SPC from SPC.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 57c1c760add..6692ddad152 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -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; |