diff options
| author | Po Lu | 2022-12-31 18:05:12 +0800 |
|---|---|---|
| committer | Po Lu | 2022-12-31 18:05:12 +0800 |
| commit | fd074f3133a348dd1d3b7ee569f0fc046223efb9 (patch) | |
| tree | ac82e56578f398be747175f0f42ca2b3cb0ca0b8 /src/process.c | |
| parent | cfbc8a5dbcd362b69b37b4e6832ae4a31834364c (diff) | |
| parent | f59d012af7e607448fdb435fcb4becb6a6ebe665 (diff) | |
| download | emacs-fd074f3133a348dd1d3b7ee569f0fc046223efb9.tar.gz emacs-fd074f3133a348dd1d3b7ee569f0fc046223efb9.zip | |
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index de1b07a81cc..a4be68f7418 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -6810,10 +6810,13 @@ emacs_get_tty_pgrp (struct Lisp_Process *p) | |||
| 6810 | 6810 | ||
| 6811 | DEFUN ("process-running-child-p", Fprocess_running_child_p, | 6811 | DEFUN ("process-running-child-p", Fprocess_running_child_p, |
| 6812 | Sprocess_running_child_p, 0, 1, 0, | 6812 | Sprocess_running_child_p, 0, 1, 0, |
| 6813 | doc: /* Return non-nil if PROCESS has given the terminal to a | 6813 | doc: /* Return non-nil if PROCESS has given control of its terminal to a child. |
| 6814 | child. If the operating system does not make it possible to find out, | 6814 | If the operating system does not make it possible to find out, return t. |
| 6815 | return t. If we can find out, return the numeric ID of the foreground | 6815 | If it's possible to find out, return the numeric ID of the foreground |
| 6816 | process group. */) | 6816 | process group if PROCESS did give control of its terminal to a |
| 6817 | child process, and return nil if it didn't. | ||
| 6818 | |||
| 6819 | PROCESS must be a real subprocess, not a connection. */) | ||
| 6817 | (Lisp_Object process) | 6820 | (Lisp_Object process) |
| 6818 | { | 6821 | { |
| 6819 | /* Initialize in case ioctl doesn't exist or gives an error, | 6822 | /* Initialize in case ioctl doesn't exist or gives an error, |