changeset 8570:dd3dfde8f973

(wait_reading_process_input): Clear waiting_for_user_input_p before returning.
author Richard M. Stallman <rms@gnu.org>
date Fri, 19 Aug 1994 07:23:05 +0000
parents 3a9e9d3df590
children ec740be1ce7b
files src/process.c
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Fri Aug 19 07:06:30 1994 +0000
+++ b/src/process.c	Fri Aug 19 07:23:05 1994 +0000
@@ -1795,7 +1795,10 @@
    function Fwaiting_for_user_input_p below) whether emacs was waiting
    for user-input when that process-filter was called.
    waiting_for_input cannot be used as that is by definition 0 when
-   lisp code is being evalled */
+   lisp code is being evalled.
+   This is also used in record_asynch_buffer_change.
+   For that purpose, this must be 0
+   when not inside wait_reading_process_input.  */
 static int waiting_for_user_input_p;
 
 /* Read and dispose of subprocess output while waiting for timeout to
@@ -2159,6 +2162,8 @@
 	}			/* end for each file descriptor */
     }				/* end while exit conditions not met */
 
+  waiting_for_user_input_p = 0;
+
   /* If calling from keyboard input, do not quit
      since we want to return C-g as an input character.
      Otherwise, do pending quit if requested.  */