changeset 8718:44a433fa6e8f

(record_asynch_buffer_change): Don't test Fwaiting_for_user_input_p if no subprocesses.
author Richard M. Stallman <rms@gnu.org>
date Thu, 08 Sep 1994 19:14:12 +0000
parents e56d09b95778
children 8c82017999af
files src/keyboard.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Thu Sep 08 17:44:42 1994 +0000
+++ b/src/keyboard.c	Thu Sep 08 19:14:12 1994 +0000
@@ -3447,6 +3447,7 @@
   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 @@
   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