]> code.delx.au - gnu-emacs/commitdiff
Update documentation of 'process-running-child-p'
authorEli Zaretskii <eliz@gnu.org>
Tue, 12 Jan 2016 19:29:28 +0000 (21:29 +0200)
committerEli Zaretskii <eliz@gnu.org>
Tue, 12 Jan 2016 19:29:28 +0000 (21:29 +0200)
* doc/lispref/processes.texi (Input to Processes): Document the
changes in return value of 'process-running-child-p'.

doc/lispref/processes.texi
etc/NEWS

index 2a4bd8a067d99180349ff41709c5c0425e782263..f660b159386915af11185bdd22a69c187ce6bc91 100644 (file)
@@ -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
index 6d474437de0f0f69c33d23977ed97ef47643e59a..6323b24dae3a018669e868822995745b97825413 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1242,9 +1242,11 @@ active region handling.
 +++
 ** deactivate-mark is now buffer-local.
 
++++
 ** `cl-the' now asserts that its argument is of the given type.
 
-** `process-running-child-p` may now return a numeric process
++++
+** `process-running-child-p' may now return a numeric process
 group ID instead of `t'.
 
 +++