]> git.eshelyaron.com Git - emacs.git/commitdiff
(menu_bar_items, tool_bar_items)
authorDave Love <fx@gnu.org>
Mon, 18 Sep 2000 18:45:34 +0000 (18:45 +0000)
committerDave Love <fx@gnu.org>
Mon, 18 Sep 2000 18:45:34 +0000 (18:45 +0000)
(current_active_maps): Remove redundant get_local_map call.

src/ChangeLog
src/keyboard.c

index fc09566d561f3ae87fd3c2b4b41777f885ff856a..e7136f8423a88fa5fe2db00fe9c6d0e766e3baec 100644 (file)
@@ -1,3 +1,8 @@
+2000-09-18  Dave Love  <fx@gnu.org>
+
+       * keyboard.c (menu_bar_items, tool_bar_items) 
+       (current_active_maps): Remove redundant get_local_map call.
+
 2000-09-18  Gerd Moellmann  <gerd@gnu.org>
 
        * xterm.c (x_draw_image_glyph_string): Remove a comment describing
index 4ce4bc6e5b8d2ef115cd66e85e895a3ee23131c9..d204e904a179b17a54fac60bb542a3966bbda013 100644 (file)
@@ -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;