projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb9049
)
(make_lispy_event): Distinguish S-SPC from SPC.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 14 Jul 1997 19:36:01 +0000
(19:36 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 14 Jul 1997 19:36:01 +0000
(19:36 +0000)
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 57c1c760addc6f77b8b5fe146778586cabb2abcb..6692ddad1528423b6cb163c09276a1830c105181 100644
(file)
--- 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;