diff options
Diffstat (limited to 'src/keymap.c')
| -rw-r--r-- | src/keymap.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/keymap.c b/src/keymap.c index d9de2bc804b..0e4715e4b8b 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -1565,8 +1565,8 @@ like in the respective argument of `key-binding'. */) | |||
| 1565 | 1565 | ||
| 1566 | if (!NILP (olp)) | 1566 | if (!NILP (olp)) |
| 1567 | { | 1567 | { |
| 1568 | if (!NILP (current_kboard->Voverriding_terminal_local_map)) | 1568 | if (!NILP (KVAR (current_kboard, Voverriding_terminal_local_map))) |
| 1569 | keymaps = Fcons (current_kboard->Voverriding_terminal_local_map, keymaps); | 1569 | keymaps = Fcons (KVAR (current_kboard, Voverriding_terminal_local_map), keymaps); |
| 1570 | /* The doc said that overriding-terminal-local-map should | 1570 | /* The doc said that overriding-terminal-local-map should |
| 1571 | override overriding-local-map. The code used them both, | 1571 | override overriding-local-map. The code used them both, |
| 1572 | but it seems clearer to use just one. rms, jan 2005. */ | 1572 | but it seems clearer to use just one. rms, jan 2005. */ |
| @@ -1745,9 +1745,9 @@ specified buffer position instead of point are used. | |||
| 1745 | } | 1745 | } |
| 1746 | } | 1746 | } |
| 1747 | 1747 | ||
| 1748 | if (! NILP (current_kboard->Voverriding_terminal_local_map)) | 1748 | if (! NILP (KVAR (current_kboard, Voverriding_terminal_local_map))) |
| 1749 | { | 1749 | { |
| 1750 | value = Flookup_key (current_kboard->Voverriding_terminal_local_map, | 1750 | value = Flookup_key (KVAR (current_kboard, Voverriding_terminal_local_map), |
| 1751 | key, accept_default); | 1751 | key, accept_default); |
| 1752 | if (! NILP (value) && !INTEGERP (value)) | 1752 | if (! NILP (value) && !INTEGERP (value)) |
| 1753 | goto done; | 1753 | goto done; |
| @@ -2941,11 +2941,11 @@ You type Translation\n\ | |||
| 2941 | outbuf = Fcurrent_buffer (); | 2941 | outbuf = Fcurrent_buffer (); |
| 2942 | 2942 | ||
| 2943 | /* Report on alternates for keys. */ | 2943 | /* Report on alternates for keys. */ |
| 2944 | if (STRINGP (current_kboard->Vkeyboard_translate_table) && !NILP (prefix)) | 2944 | if (STRINGP (KVAR (current_kboard, Vkeyboard_translate_table)) && !NILP (prefix)) |
| 2945 | { | 2945 | { |
| 2946 | int c; | 2946 | int c; |
| 2947 | const unsigned char *translate = SDATA (current_kboard->Vkeyboard_translate_table); | 2947 | const unsigned char *translate = SDATA (KVAR (current_kboard, Vkeyboard_translate_table)); |
| 2948 | int translate_len = SCHARS (current_kboard->Vkeyboard_translate_table); | 2948 | int translate_len = SCHARS (KVAR (current_kboard, Vkeyboard_translate_table)); |
| 2949 | 2949 | ||
| 2950 | for (c = 0; c < translate_len; c++) | 2950 | for (c = 0; c < translate_len; c++) |
| 2951 | if (translate[c] != c) | 2951 | if (translate[c] != c) |
| @@ -2968,7 +2968,7 @@ You type Translation\n\ | |||
| 2968 | insert ("\n", 1); | 2968 | insert ("\n", 1); |
| 2969 | 2969 | ||
| 2970 | /* Insert calls signal_after_change which may GC. */ | 2970 | /* Insert calls signal_after_change which may GC. */ |
| 2971 | translate = SDATA (current_kboard->Vkeyboard_translate_table); | 2971 | translate = SDATA (KVAR (current_kboard, Vkeyboard_translate_table)); |
| 2972 | } | 2972 | } |
| 2973 | 2973 | ||
| 2974 | insert ("\n", 1); | 2974 | insert ("\n", 1); |
| @@ -2981,8 +2981,8 @@ You type Translation\n\ | |||
| 2981 | 2981 | ||
| 2982 | /* Print the (major mode) local map. */ | 2982 | /* Print the (major mode) local map. */ |
| 2983 | start1 = Qnil; | 2983 | start1 = Qnil; |
| 2984 | if (!NILP (current_kboard->Voverriding_terminal_local_map)) | 2984 | if (!NILP (KVAR (current_kboard, Voverriding_terminal_local_map))) |
| 2985 | start1 = current_kboard->Voverriding_terminal_local_map; | 2985 | start1 = KVAR (current_kboard, Voverriding_terminal_local_map); |
| 2986 | else if (!NILP (Voverriding_local_map)) | 2986 | else if (!NILP (Voverriding_local_map)) |
| 2987 | start1 = Voverriding_local_map; | 2987 | start1 = Voverriding_local_map; |
| 2988 | 2988 | ||
| @@ -3064,13 +3064,13 @@ You type Translation\n\ | |||
| 3064 | "\f\nGlobal Bindings", nomenu, 0, 1, 0); | 3064 | "\f\nGlobal Bindings", nomenu, 0, 1, 0); |
| 3065 | 3065 | ||
| 3066 | /* Print the function-key-map translations under this prefix. */ | 3066 | /* Print the function-key-map translations under this prefix. */ |
| 3067 | if (!NILP (current_kboard->Vlocal_function_key_map)) | 3067 | if (!NILP (KVAR (current_kboard, Vlocal_function_key_map))) |
| 3068 | describe_map_tree (current_kboard->Vlocal_function_key_map, 0, Qnil, prefix, | 3068 | describe_map_tree (KVAR (current_kboard, Vlocal_function_key_map), 0, Qnil, prefix, |
| 3069 | "\f\nFunction key map translations", nomenu, 1, 0, 0); | 3069 | "\f\nFunction key map translations", nomenu, 1, 0, 0); |
| 3070 | 3070 | ||
| 3071 | /* Print the input-decode-map translations under this prefix. */ | 3071 | /* Print the input-decode-map translations under this prefix. */ |
| 3072 | if (!NILP (current_kboard->Vinput_decode_map)) | 3072 | if (!NILP (KVAR (current_kboard, Vinput_decode_map))) |
| 3073 | describe_map_tree (current_kboard->Vinput_decode_map, 0, Qnil, prefix, | 3073 | describe_map_tree (KVAR (current_kboard, Vinput_decode_map), 0, Qnil, prefix, |
| 3074 | "\f\nInput decoding map translations", nomenu, 1, 0, 0); | 3074 | "\f\nInput decoding map translations", nomenu, 1, 0, 0); |
| 3075 | 3075 | ||
| 3076 | UNGCPRO; | 3076 | UNGCPRO; |