Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
c88be8a7
Commit
c88be8a7
authored
May 05, 2007
by
Richard M. Stallman
Browse files
(Accepting Output): accept-process-output
uses microseconds, not milliseconds. But that arg is obsolete.
parent
55da0626
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
lispref/processes.texi
lispref/processes.texi
+8
-8
No files found.
lispref/processes.texi
View file @
c88be8a7
...
...
@@ -1296,24 +1296,24 @@ or terminal input. Occasionally it is useful in a Lisp program to
explicitly permit output to arrive at a specific point, or even to wait
until output arrives from a process.
@defun accept-process-output &optional process seconds mi
lli
sec just-this-one
@defun accept-process-output &optional process seconds mi
cro
sec just-this-one
This function allows Emacs to read pending output from processes. The
output is inserted in the associated buffers or given to their filter
functions. If @var{process} is non-@code{nil} then this function does
not return until some output has been received from @var{process}.
@c Emacs 19 feature
The arguments @var{seconds} and @var{mi
lli
sec} let you specify timeout
The arguments @var{seconds} and @var{mi
cro
sec} let you specify timeout
periods. The former specifies a period measured in seconds and the
latter specifies one measured in mi
lli
seconds. The two time periods
latter specifies one measured in mi
cro
seconds. The two time periods
thus specified are added together, and @code{accept-process-output}
returns after that much time whether or not there has been any
returns after that much time
,
whether or not there has been any
subprocess output.
The argument @var{
seconds} need not be an integer. If it is a floating
point number, this function waits for a fractional
number o
f
sec
onds.
If @var{seconds} is 0, the function
accepts whatever output is
pending but does not wait.
The argument @var{
microsec} is semi-obsolete nowadays because
@var{seconds} can be a floating point
number
t
o s
p
ec
ify waiting a
fractional number of seconds.
If @var{seconds} is 0, the function
accepts whatever output is
pending but does not wait.
@c Emacs 22.1 feature
If @var{process} is a process, and the argument @var{just-this-one} is
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment