Mercurial > emacs
changeset 3887:d8eb17d07558
* keyboard.c (menu_bar_items, read_key_sequence): Use
current_global_map, not global_map; the latter is only meant to be
used for initial_define_key.
* commands.h: Doc fix.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 22 Jun 1993 08:17:36 +0000 |
parents | 92f6b47e3e8d |
children | 25b4e4ee7ba7 |
files | src/keyboard.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/keyboard.c Tue Jun 22 08:17:26 1993 +0000 +++ b/src/keyboard.c Tue Jun 22 08:17:36 1993 +0000 @@ -3170,7 +3170,7 @@ #else maps[nmaps-2] = current_buffer->keymap; #endif - maps[nmaps-1] = global_map; + maps[nmaps-1] = current_global_map; } /* Look up in each map the dummy prefix key `menu-bar'. */ @@ -3740,7 +3740,7 @@ #else submaps[nmaps-2] = current_buffer->keymap; #endif - submaps[nmaps-1] = global_map; + submaps[nmaps-1] = current_global_map; } /* Find an accurate initial value for first_binding. */