changeset 11968:358dfd784432

(update_menu_bar): Call set_frame_menubar with proper buffer current.
author Karl Heuer <kwzh@gnu.org>
date Mon, 29 May 1995 04:05:18 +0000
parents cfc4dac71b6a
children fe63b4e6021a
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Sun May 28 22:53:22 1995 +0000
+++ b/src/xdisp.c	Mon May 29 04:05:18 1995 +0000
@@ -1261,11 +1261,11 @@
 	  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);
 	}
     }