[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 4774a3abb4b: Document, that PROCESS of signal-process can be a
From: |
Michael Albinus |
Subject: |
emacs-29 4774a3abb4b: Document, that PROCESS of signal-process can be a string |
Date: |
Thu, 30 Nov 2023 08:37:52 -0500 (EST) |
branch: emacs-29
commit 4774a3abb4be3068e0308820c73b71c2a924fb21
Author: Michael Albinus <michael.albinus@gmx.de>
Commit: Michael Albinus <michael.albinus@gmx.de>
Document, that PROCESS of signal-process can be a string
* doc/lispref/processes.texi (Signals to Processes) [signal-process]:
* src/process.c (Fsignal_process): Document, that PROCESS can be a
string.
---
doc/lispref/processes.texi | 3 +++
src/process.c | 2 ++
2 files changed, 5 insertions(+)
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi
index e1398749005..b3ba58ec643 100644
--- a/doc/lispref/processes.texi
+++ b/doc/lispref/processes.texi
@@ -1497,6 +1497,9 @@ If @var{process} is a process object which contains the
property
@code{remote-pid}, or @var{process} is a number and @var{remote} is a
remote file name, @var{process} is interpreted as process on the
respective remote host, which will be the process to signal.
+
+If @var{process} is a string, it is interpreted as process object with
+the respective process name, or as a number.
@end deffn
Sometimes, it is necessary to send a signal to a non-local
diff --git a/src/process.c b/src/process.c
index 46e57c1a7c2..4ee742c6cef 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7185,6 +7185,8 @@ If PROCESS is a process object which contains the property
`remote-pid', or PROCESS is a number and REMOTE is a remote file name,
PROCESS is interpreted as process on the respective remote host, which
will be the process to signal.
+If PROCESS is a string, it is interpreted as process object with the
+respective process name, or as a number.
SIGCODE may be an integer, or a symbol whose name is a signal name. */)
(Lisp_Object process, Lisp_Object sigcode, Lisp_Object remote)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 4774a3abb4b: Document, that PROCESS of signal-process can be a string,
Michael Albinus <=