summaryrefslogtreecommitdiff
path: root/doc/lispref/processes.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2016-01-12 21:29:28 +0200
committerEli Zaretskii <eliz@gnu.org>2016-01-12 21:29:28 +0200
commitc3528f1e20db17b66eed5127905222a4a26a05fd (patch)
treec1314b0f21a47571691ee916ba7087a044ec46c5 /doc/lispref/processes.texi
parenta71783bd6c63b5d6a169ce28902da5185e294f30 (diff)
downloademacs-c3528f1e20db17b66eed5127905222a4a26a05fd.tar.gz
Update documentation of 'process-running-child-p'
* doc/lispref/processes.texi (Input to Processes): Document the changes in return value of 'process-running-child-p'.
Diffstat (limited to 'doc/lispref/processes.texi')
-rw-r--r--doc/lispref/processes.texi10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index 2a4bd8a067d..f660b159386 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -1138,10 +1138,12 @@ The function returns @var{process}.
@end defun
@defun process-running-child-p &optional process
-This function will tell you whether a @var{process} has given control of
-its terminal to its own child process. The value is @code{t} if this is
-true, or if Emacs cannot tell; it is @code{nil} if Emacs can be certain
-that this is not so.
+This function will tell you whether a @var{process} has given control
+of its terminal to its own child process. If this is true, the
+function returns the numeric ID of the foreground process group of
+@var{process}; it returns @code{nil} if Emacs can be certain that this
+is not so. The value is @code{t} if Emacs cannot tell whether this is
+true.
@end defun
@node Signals to Processes