]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/process.c (Fprocess_running_child_p): Doc fix.
authorEli Zaretskii <eliz@gnu.org>
Sun, 25 Dec 2022 09:23:07 +0000 (11:23 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 25 Dec 2022 09:23:07 +0000 (11:23 +0200)
src/process.c

index 5144c5d6c9285324618f0d7e845d9153b132f643..cab8a1d5cf2ccad22c12c887644b60d2288b36df 100644 (file)
@@ -6795,10 +6795,13 @@ emacs_get_tty_pgrp (struct Lisp_Process *p)
 
 DEFUN ("process-running-child-p", Fprocess_running_child_p,
        Sprocess_running_child_p, 0, 1, 0,
-       doc: /* Return non-nil if PROCESS has given the terminal to a
-child.  If the operating system does not make it possible to find out,
-return t.  If we can find out, return the numeric ID of the foreground
-process group.  */)
+       doc: /* Return non-nil if PROCESS has given control of its terminal to a child.
+If the operating system does not make it possible to find out, return t.
+If it's possible to find out, return the numeric ID of the foreground
+process group if PROCESS did give control of its terminal to a
+child process, and return nil if it didn't.
+
+PROCESS must be a real subprocess, not a connection.  */)
   (Lisp_Object process)
 {
   /* Initialize in case ioctl doesn't exist or gives an error,