diff options
| author | Lars Magne Ingebrigtsen | 2011-05-31 20:40:00 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-05-31 20:40:00 +0200 |
| commit | bcd54f837039f8d28e0bb8320385ca2dc6fdd5d3 (patch) | |
| tree | a569ae614a24267c168d788c9df97334cc653ba0 /doc | |
| parent | 864db017b0b040e386f95b21c2501e1a71d86318 (diff) | |
| download | emacs-bcd54f837039f8d28e0bb8320385ca2dc6fdd5d3.tar.gz emacs-bcd54f837039f8d28e0bb8320385ca2dc6fdd5d3.zip | |
Add the tiny convenience function `process-alive-p'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/processes.texi | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index bd92b2a7273..83cee10f899 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * processes.texi (Process Information): Document | ||
| 4 | `process-alive-p'. | ||
| 5 | |||
| 1 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> | 6 | 2011-05-29 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 7 | ||
| 3 | * help.texi (Accessing Documentation): | 8 | * help.texi (Accessing Documentation): |
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 1a1b63683ce..2284699c82b 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 | |||
| 859 | closed the connection, or Emacs did @code{delete-process}. | 859 | closed the connection, or Emacs did @code{delete-process}. |
| 860 | @end defun | 860 | @end defun |
| 861 | 861 | ||
| 862 | @defun process-alive-p process | ||
| 863 | This function returns nin-@code{nil} if @var{process} is alive. A | ||
| 864 | process is considered alive if its status is @code{run}, @code{open}, | ||
| 865 | @code{listen}, @code{connect} or @code{stop}. | ||
| 866 | @end defun | ||
| 867 | |||
| 862 | @defun process-type process | 868 | @defun process-type process |
| 863 | This function returns the symbol @code{network} for a network | 869 | This function returns the symbol @code{network} for a network |
| 864 | connection or server, @code{serial} for a serial port connection, or | 870 | connection or server, @code{serial} for a serial port connection, or |