Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
341a09cf
Commit
341a09cf
authored
Dec 13, 2000
by
Stefan Monnier
Browse files
(menu_bar_items, tool_bar_items):
Set `autoload' when looking up `tool-bar' or `menu-bar' submap.
parent
f7f8bb69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
src/keyboard.c
src/keyboard.c
+3
-4
No files found.
src/keyboard.c
View file @
341a09cf
...
...
@@ -6306,8 +6306,8 @@ menu_bar_items (old)
for (mapno = nmaps - 1; mapno >= 0; mapno--)
if (!NILP (maps[mapno]))
{
def = get_keymap (access_keymap (maps[mapno], Qmenu_bar, 1, 0,
0
),
0,
0
);
def = get_keymap (access_keymap (maps[mapno], Qmenu_bar, 1, 0,
1
),
0,
1
);
if (CONSP (def))
menu_bar_one_keymap (def);
}
...
...
@@ -6959,8 +6959,7 @@ tool_bar_items (reuse, nitems)
{
Lisp_Object keymap;
/* Why set the `noinherit' flag ? -sm */
keymap = get_keymap (access_keymap (maps[i], Qtool_bar, 1, 1, 0), 0, 0);
keymap = get_keymap (access_keymap (maps[i], Qtool_bar, 1, 0, 1), 0, 1);
if (CONSP (keymap))
{
Lisp_Object tail;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment