summaryrefslogtreecommitdiff
path: root/src/unexnext.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-05-04 02:39:39 +0000
committerJim Blandy <jimb@redhat.com>1993-05-04 02:39:39 +0000
commitd82222e114a8fdf1fbe0ca295497186189edd225 (patch)
tree43753de49f4e4a30ccfdae061d27ada84d1c1bd9 /src/unexnext.c
parentc2e4f49a68cdfedaca2c2a785a80b64ca677b1fe (diff)
downloademacs-d82222e114a8fdf1fbe0ca295497186189edd225.tar.gz
* lisp.h (CHAR_ALT, CHAR_SUPER, CHAR_HYPER): New constants, in
case we need them. * termhooks.h (alt_modifier, super_modifier, hyper_modifier, shift_modifier, ctrl_modifier, meta_modifier): Define these in terms of the CHAR_mumble macros, to avoid having the same thing defined in two places. Make the modifier manipulation functions more robust. The old way caused a bug once, and probably would again. * termhooks.h (alt_modifier, super_modifier, hyper_modifier, shift_modifier, ctrl_modifier, meta_modifier): Shift these all down one bit in value, to avoid sign extension problems. * lisp.h (CHAR_META, CHAR_CTL, CHAR_SHIFT): Fix these definitions too. * keyboard.c (lispy_modifier_list): Ignore modifier bits beyond what our table of modifier names can handle. (apply_modifiers): Don't abort if you see extra modifier bits, just remove them.
Diffstat (limited to 'src/unexnext.c')
0 files changed, 0 insertions, 0 deletions