Mercurial > emacs
diff src/keyboard.c @ 31697:5732e757b20f
(menu_bar_items, tool_bar_items)
(current_active_maps): Remove redundant get_local_map call.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 18 Sep 2000 18:45:01 +0000 |
parents | 56845f87c178 |
children | 517180d8eccd |
line wrap: on
line diff
--- a/src/keyboard.c Mon Sep 18 13:40:30 2000 +0000 +++ b/src/keyboard.c Mon Sep 18 18:45:01 2000 +0000 @@ -6220,7 +6220,7 @@ * 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 @@ * 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 @@ * 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;