Fwaiting_for_user_input_p if no subprocesses.
event.kind = buffer_switch_event;
event.frame_or_window = Qnil;
+#ifdef subprocesses
/* We don't need a buffer-switch event unless Emacs is waiting for input.
The purpose of the event is to make read_key_sequence look up the
keymaps again. If we aren't in read_key_sequence, we don't need one,
tem = Fwaiting_for_user_input_p ();
if (NILP (tem))
return;
+#else
+ /* We never need these events if we have no asynchronous subprocesses. */
+ return;
+#endif
/* Make sure no interrupt happens while storing the event. */
#ifdef SIGIO