X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/ed7f1a6c5caaf4159125c08db5d18c5471fdd032..4c0078d4ab7fa8c234fa8098ec3a9686199edbff:/doc/lispref/processes.texi diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 1a1b63683c..d4f8ee9708 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi @@ -859,6 +859,12 @@ For a network connection, @code{process-status} returns one of the symbols closed the connection, or Emacs did @code{delete-process}. @end defun +@defun process-live-p process +This function returns nin-@code{nil} if @var{process} is alive. A +process is considered alive if its status is @code{run}, @code{open}, +@code{listen}, @code{connect} or @code{stop}. +@end defun + @defun process-type process This function returns the symbol @code{network} for a network connection or server, @code{serial} for a serial port connection, or @@ -1975,9 +1981,9 @@ not get a separate process buffer; otherwise, Emacs creates a new buffer for the purpose. The buffer name is the server's buffer name or process name, concatenated with the client identification string. -The server's process buffer value is never used directly by Emacs, but -it is passed to the log function, which can log connections by -inserting text there. +The server's process buffer value is never used directly, but the log +function can retrieve it and use it to log connections by inserting +text there. @item The communication type and the process filter and sentinel are