From: Richard M. Stallman Date: Mon, 14 Jul 1997 19:36:01 +0000 (+0000) Subject: (make_lispy_event): Distinguish S-SPC from SPC. X-Git-Tag: emacs-20.1~1168 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32454a9ff2c992c36d589cc3bf74b0a82bb4701f;p=emacs.git (make_lispy_event): Distinguish S-SPC from SPC. --- 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;