Mercurial > emacs
changeset 2056:0c95942fc8da
(read_key_sequence):
Use meta_modifier for meta keys when handling function_key_map.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 07 Mar 1993 20:18:52 +0000 |
parents | 9234ebe088c9 |
children | 265b81ff7eee |
files | src/keyboard.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Sun Mar 07 20:17:27 1993 +0000 +++ b/src/keyboard.c Sun Mar 07 20:18:52 1993 +0000 @@ -3498,7 +3498,7 @@ key = keybuf[fkey_end++]; /* Look up meta-characters by prefixing them with meta_prefix_char. I hate this. */ - if (XTYPE (key) == Lisp_Int && XINT (key) & 0x80) + if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) { fkey_next = get_keymap_1 @@ -3506,7 +3506,7 @@ (access_keymap (fkey_map, meta_prefix_char, 1)), 0, 1); - XFASTINT (key) = XFASTINT (key) & 0x7f; + XFASTINT (key) = XFASTINT (key) & ~meta_modifier; } else fkey_next = fkey_map;