]> git.eshelyaron.com Git - emacs.git/commitdiff
(make_lispy_event): Distinguish S-SPC from SPC.
authorRichard M. Stallman <rms@gnu.org>
Mon, 14 Jul 1997 19:36:01 +0000 (19:36 +0000)
committerRichard M. Stallman <rms@gnu.org>
Mon, 14 Jul 1997 19:36:01 +0000 (19:36 +0000)
src/keyboard.c

index 57c1c760addc6f77b8b5fe146778586cabb2abcb..6692ddad1528423b6cb163c09276a1830c105181 100644 (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;