From dcb9e676a79970fc9a287b23105032389f9d0e74 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Mon, 29 May 1995 04:05:18 +0000 Subject: [PATCH] (update_menu_bar): Call set_frame_menubar with proper buffer current. --- src/xdisp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xdisp.c b/src/xdisp.c index 6fb7a30ed01..3bff545f922 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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; #ifdef USE_X_TOOLKIT set_frame_menubar (f, 0); #endif /* USE_X_TOOLKIT */ + current_buffer = prev; unbind_to (count, Qnil); } } -- 2.39.2