Commit dcb9e676 authored by Karl Heuer's avatar Karl Heuer
Browse files

(update_menu_bar): Call set_frame_menubar with proper buffer current.

parent be67270a
......@@ -1261,11 +1261,11 @@ update_menu_bar (f, save_match_data)
call1 (Vrun_hooks, Qmenu_bar_update_hook);
current_buffer = XBUFFER (w->buffer);
FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (FRAME_MENU_BAR_ITEMS (f));
current_buffer = prev;
set_frame_menubar (f, 0);
#endif /* USE_X_TOOLKIT */
current_buffer = prev;
unbind_to (count, Qnil);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment