aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-09-18 18:45:34 +0000
committerDave Love2000-09-18 18:45:34 +0000
commit9f83cf0bd0b2489ede411a398d5efaccc5f952c2 (patch)
tree22407d14619d6fa834cd9dc47f6cf9a2cae4cd7f
parent6fed3546d90dd13f7644e8ce4d6f79176a316359 (diff)
downloademacs-9f83cf0bd0b2489ede411a398d5efaccc5f952c2.tar.gz
emacs-9f83cf0bd0b2489ede411a398d5efaccc5f952c2.zip
(menu_bar_items, tool_bar_items)
(current_active_maps): Remove redundant get_local_map call.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/keyboard.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fc09566d561..e7136f8423a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12000-09-18 Dave Love <fx@gnu.org>
2
3 * keyboard.c (menu_bar_items, tool_bar_items)
4 (current_active_maps): Remove redundant get_local_map call.
5
12000-09-18 Gerd Moellmann <gerd@gnu.org> 62000-09-18 Gerd Moellmann <gerd@gnu.org>
2 7
3 * xterm.c (x_draw_image_glyph_string): Remove a comment describing 8 * xterm.c (x_draw_image_glyph_string): Remove a comment describing
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)
6220 * sizeof (maps[0])); 6220 * sizeof (maps[0]));
6221 bcopy (tmaps, maps, nmaps * sizeof (maps[0])); 6221 bcopy (tmaps, maps, nmaps * sizeof (maps[0]));
6222 if (!NILP (map)) 6222 if (!NILP (map))
6223 maps[nmaps++] = get_local_map (PT, current_buffer, keymap); 6223 maps[nmaps++] = map;
6224 maps[nmaps++] = get_local_map (PT, current_buffer, local_map); 6224 maps[nmaps++] = get_local_map (PT, current_buffer, local_map);
6225 } 6225 }
6226 maps[nmaps++] = current_global_map; 6226 maps[nmaps++] = current_global_map;
@@ -6877,7 +6877,7 @@ tool_bar_items (reuse, nitems)
6877 * sizeof (maps[0])); 6877 * sizeof (maps[0]));
6878 bcopy (tmaps, maps, nmaps * sizeof (maps[0])); 6878 bcopy (tmaps, maps, nmaps * sizeof (maps[0]));
6879 if (!NILP (map)) 6879 if (!NILP (map))
6880 maps[nmaps++] = get_local_map (PT, current_buffer, keymap); 6880 maps[nmaps++] = map;
6881 maps[nmaps++] = get_local_map (PT, current_buffer, local_map); 6881 maps[nmaps++] = get_local_map (PT, current_buffer, local_map);
6882 } 6882 }
6883 6883
@@ -9216,7 +9216,7 @@ current_active_maps (maps_p)
9216 * sizeof (maps[0])); 9216 * sizeof (maps[0]));
9217 bcopy (tmaps, maps, nmaps * sizeof (maps[0])); 9217 bcopy (tmaps, maps, nmaps * sizeof (maps[0]));
9218 if (!NILP (map)) 9218 if (!NILP (map))
9219 maps[nmaps++] = get_local_map (PT, current_buffer, keymap); 9219 maps[nmaps++] = map;
9220 maps[nmaps++] = get_local_map (PT, current_buffer, local_map); 9220 maps[nmaps++] = get_local_map (PT, current_buffer, local_map);
9221 } 9221 }
9222 maps[nmaps++] = current_global_map; 9222 maps[nmaps++] = current_global_map;