changeset 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 6856f91c0301
children 69ef0def4cc6
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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;