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
462eca8f
Commit
462eca8f
authored
Aug 22, 2006
by
Kim F. Storm
Browse files
(update_tool_bar): Redisplay toolbar also when only
number of items changes.
parent
6b4d8762
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/xdisp.c
src/xdisp.c
+2
-1
No files found.
src/xdisp.c
View file @
462eca8f
...
...
@@ -9391,7 +9391,8 @@ update_tool_bar (f, save_match_data)
&new_n_tool_bar);
/* Redisplay the tool-bar if we changed it. */
if (NILP (Fequal (new_tool_bar, f->tool_bar_items)))
if (new_n_tool_bar != f->n_tool_bar_items
|| NILP (Fequal (new_tool_bar, f->tool_bar_items)))
{
/* Redisplay that happens asynchronously due to an expose event
may access f->tool_bar_items. Make sure we update both
...
...
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