mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
(read_char): When we loop and call redisplay,
do prepare_menu_bars first.
This commit is contained in:
parent
784450462f
commit
cd72760cca
@ -1645,7 +1645,10 @@ read_char (commandflag, nmaps, maps, prev_event, used_mouse_menu)
|
||||
if (!NILP (c))
|
||||
break;
|
||||
if (commandflag >= 0 && !input_pending && !detect_input_pending ())
|
||||
redisplay ();
|
||||
{
|
||||
prepare_menu_bars ();
|
||||
redisplay ();
|
||||
}
|
||||
}
|
||||
|
||||
/* Terminate Emacs in batch mode if at eof. */
|
||||
|
Loading…
Reference in New Issue
Block a user