diff options
author | Dave Love <fx@gnu.org> | 2000-09-18 18:45:34 +0000 |
---|---|---|
committer | Dave Love <fx@gnu.org> | 2000-09-18 18:45:34 +0000 |
commit | 9f83cf0bd0b2489ede411a398d5efaccc5f952c2 (patch) | |
tree | 22407d14619d6fa834cd9dc47f6cf9a2cae4cd7f /src/keyboard.c | |
parent | 6fed3546d90dd13f7644e8ce4d6f79176a316359 (diff) | |
download | emacs-9f83cf0bd0b2489ede411a398d5efaccc5f952c2.tar.gz |
(menu_bar_items, tool_bar_items)
(current_active_maps): Remove redundant get_local_map call.
Diffstat (limited to 'src/keyboard.c')
-rw-r--r-- | src/keyboard.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 4ce4bc6e5b8..d204e904a17 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -6220,7 +6220,7 @@ menu_bar_items (old) * sizeof (maps[0])); bcopy (tmaps, maps, nmaps * sizeof (maps[0])); if (!NILP (map)) - maps[nmaps++] = get_local_map (PT, current_buffer, keymap); + maps[nmaps++] = map; maps[nmaps++] = get_local_map (PT, current_buffer, local_map); } maps[nmaps++] = current_global_map; @@ -6877,7 +6877,7 @@ tool_bar_items (reuse, nitems) * sizeof (maps[0])); bcopy (tmaps, maps, nmaps * sizeof (maps[0])); if (!NILP (map)) - maps[nmaps++] = get_local_map (PT, current_buffer, keymap); + maps[nmaps++] = map; maps[nmaps++] = get_local_map (PT, current_buffer, local_map); } @@ -9216,7 +9216,7 @@ current_active_maps (maps_p) * sizeof (maps[0])); bcopy (tmaps, maps, nmaps * sizeof (maps[0])); if (!NILP (map)) - maps[nmaps++] = get_local_map (PT, current_buffer, keymap); + maps[nmaps++] = map; maps[nmaps++] = get_local_map (PT, current_buffer, local_map); } maps[nmaps++] = current_global_map; |