]> code.delx.au - gnu-emacs/commitdiff
(read_char): When we loop and call redisplay,
authorRichard M. Stallman <rms@gnu.org>
Sun, 12 Jun 1994 12:42:56 +0000 (12:42 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 12 Jun 1994 12:42:56 +0000 (12:42 +0000)
do prepare_menu_bars first.

src/keyboard.c

index 6ff8789a5ededa3928954b71a51be3d572d3c22f..c29c07f027b75399dd8e12eff8b2e5d2c41f67e4 100644 (file)
@@ -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.  */