>From b76e90d242e9ee0a733fc9d4b6e280eb6892a6d0 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 16 Jan 2019 10:31:21 -0800 Subject: [PATCH] * doc/lispref/processes.texi (Accepting Output): Simplify. --- doc/lispref/processes.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index afda8aede8..fd6686e882 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -1870,13 +1870,13 @@ Accepting Output @end example @noindent -will often work, it has a race condition and can miss some output if address@hidden returns @code{nil} while the connection still -contains data. Better is to write the loop like this: +will often read all output from @var{process}, it has a race condition +and can miss some output if @code{process-live-p} returns @code{nil} +while the connection still contains data. Better is to write the loop +like this: @example -(while (or (accept-process-output process) - (process-live-p process))) +(while (accept-process-output process)) @end example @node Processes and Threads -- 2.20.1