comparison src/keyboard.c @ 2789:6ec57c1558da

(command_loop_1): Don't do it here.
author Richard M. Stallman <rms@gnu.org>
date Fri, 14 May 1993 19:43:05 +0000
parents 5fb491f14ee2
children 5b72eb2483e7
comparison
equal deleted inserted replaced
2788:30919bba8508 2789:6ec57c1558da
941 /* If it has changed current-menubar from previous value, 941 /* If it has changed current-menubar from previous value,
942 really recompute the menubar from the value. */ 942 really recompute the menubar from the value. */
943 if (! NILP (Vlucid_menu_bar_dirty_flag)) 943 if (! NILP (Vlucid_menu_bar_dirty_flag))
944 call0 (Qrecompute_lucid_menubar); 944 call0 (Qrecompute_lucid_menubar);
945 945
946 #if 0 /* This is done in xdisp.c now. */
946 #ifdef MULTI_FRAME 947 #ifdef MULTI_FRAME
947 for (tem = Vframe_list; CONSP (tem); tem = XCONS (tem)->cdr) 948 for (tem = Vframe_list; CONSP (tem); tem = XCONS (tem)->cdr)
948 { 949 {
949 struct frame *f = XFRAME (XCONS (tem)->car); 950 struct frame *f = XFRAME (XCONS (tem)->car);
950 struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f)); 951 struct window *w = XWINDOW (FRAME_SELECTED_WINDOW (f));
967 FRAME_MENU_BAR_ITEMS (f) = menu_bar_items (); 968 FRAME_MENU_BAR_ITEMS (f) = menu_bar_items ();
968 current_buffer = prev; 969 current_buffer = prev;
969 } 970 }
970 } 971 }
971 #endif /* MULTI_FRAME */ 972 #endif /* MULTI_FRAME */
973 #endif /* 0 */
972 974
973 /* Read next key sequence; i gets its length. */ 975 /* Read next key sequence; i gets its length. */
974 i = read_key_sequence (keybuf, (sizeof keybuf / sizeof (keybuf[0])), 0); 976 i = read_key_sequence (keybuf, (sizeof keybuf / sizeof (keybuf[0])), 0);
975 977
976 ++num_input_keys; 978 ++num_input_keys;