comparison src/keyboard.c @ 7857:e735b56f7423

(read_char): When we loop and call redisplay, do prepare_menu_bars first.
author Richard M. Stallman <rms@gnu.org>
date Sun, 12 Jun 1994 12:42:56 +0000
parents cfe470ebd714
children 4951edd1b764
comparison
equal deleted inserted replaced
7856:9687141f6264 7857:e735b56f7423
1643 { 1643 {
1644 c = kbd_buffer_get_event (); 1644 c = kbd_buffer_get_event ();
1645 if (!NILP (c)) 1645 if (!NILP (c))
1646 break; 1646 break;
1647 if (commandflag >= 0 && !input_pending && !detect_input_pending ()) 1647 if (commandflag >= 0 && !input_pending && !detect_input_pending ())
1648 redisplay (); 1648 {
1649 prepare_menu_bars ();
1650 redisplay ();
1651 }
1649 } 1652 }
1650 1653
1651 /* Terminate Emacs in batch mode if at eof. */ 1654 /* Terminate Emacs in batch mode if at eof. */
1652 if (noninteractive && XTYPE (c) == Lisp_Int && XINT (c) < 0) 1655 if (noninteractive && XTYPE (c) == Lisp_Int && XINT (c) < 0)
1653 Fkill_emacs (make_number (1)); 1656 Fkill_emacs (make_number (1));