Fix infinite loop in menu input due to block_input.
[bpt/emacs.git] / src / menu.c
index cf6ceb5..bbd0e70 100644 (file)
@@ -1328,7 +1328,6 @@ no quit occurs and `x-popup-menu' returns nil.  */)
 #endif
 
   /* Display them in a menu.  */
-  block_input ();
 
   /* FIXME: Use a terminal hook!  */
 #if defined HAVE_NTGUI
@@ -1358,8 +1357,6 @@ no quit occurs and `x-popup-menu' returns nil.  */)
     selection = tty_menu_show (f, xpos, ypos, for_click,
                               keymaps, title, &error_name);
 
-  unblock_input ();
-
 #ifdef HAVE_NS
   unbind_to (specpdl_count, Qnil);
 #else