]> git.eshelyaron.com Git - emacs.git/commitdiff
(record_asynch_buffer_change): Don't test
authorRichard M. Stallman <rms@gnu.org>
Thu, 8 Sep 1994 19:14:12 +0000 (19:14 +0000)
committerRichard M. Stallman <rms@gnu.org>
Thu, 8 Sep 1994 19:14:12 +0000 (19:14 +0000)
Fwaiting_for_user_input_p if no subprocesses.

src/keyboard.c

index 6534e45e0225c88cc521c2176990f0149740fa70..96f0c651658c3dd0bf123c59db4b3bbb06e25ca4 100644 (file)
@@ -3447,6 +3447,7 @@ record_asynch_buffer_change ()
   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,
@@ -3454,6 +3455,10 @@ record_asynch_buffer_change ()
   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