# HG changeset patch # User Richard M. Stallman # Date 740213187 0 # Node ID 260c9c3200b1af8ba4c8ff11f356cb8690ec88ac # Parent 6506b2fd475a8ce458094c157c66359a9aeeaec6 Calls to access_keymap updated. diff -r 6506b2fd475a -r 260c9c3200b1 src/keyboard.c --- a/src/keyboard.c Tue Jun 15 23:17:10 1993 +0000 +++ b/src/keyboard.c Wed Jun 16 06:46:27 1993 +0000 @@ -3110,7 +3110,7 @@ for (mapno = 0; mapno < nmaps; mapno++) { if (! NILP (maps[mapno])) - def = get_keyelt (access_keymap (maps[mapno], Qmenu_bar, 1)); + def = get_keyelt (access_keymap (maps[mapno], Qmenu_bar, 1, 0)); else def = Qnil; @@ -3445,7 +3445,7 @@ if (! NILP (current[i])) { next[i] = - get_keyelt (access_keymap (current[i], meta_prefix_char, 1)); + get_keyelt (access_keymap (current[i], meta_prefix_char, 1, 0)); /* Note that since we pass the resulting bindings through get_keymap_1, non-prefix bindings for meta-prefix-char @@ -3464,7 +3464,7 @@ { if (! NILP (current[i])) { - defs[i] = get_keyelt (access_keymap (current[i], key, 1)); + defs[i] = get_keyelt (access_keymap (current[i], key, 1, 0)); if (! NILP (defs[i])) first_binding = i; } @@ -3492,7 +3492,7 @@ { if (! NILP (current[i])) { - defs[i] = get_keyelt (access_keymap (current[i], key, 1)); + defs[i] = get_keyelt (access_keymap (current[i], key, 1, 0)); if (! NILP (defs[i])) first_binding = i; } @@ -3997,19 +3997,18 @@ with meta_prefix_char. I hate this. */ if (XTYPE (key) == Lisp_Int && XINT (key) & meta_modifier) { - fkey_next = - get_keymap_1 + fkey_next + = get_keymap_1 (get_keyelt - (access_keymap - (fkey_map, meta_prefix_char, 1)), + (access_keymap (fkey_map, meta_prefix_char, 1, 0)), 0, 1); XFASTINT (key) = XFASTINT (key) & ~meta_modifier; } else fkey_next = fkey_map; - fkey_next = - get_keyelt (access_keymap (fkey_next, key, 1)); + fkey_next + = get_keyelt (access_keymap (fkey_next, key, 1, 0)); /* If keybuf[fkey_start..fkey_end] is bound in the function key map and it's a suffix of the current