diff options
author | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-10-28 11:07:41 +0000 |
---|---|---|
committer | Artur Malabarba <bruce.connor.am@gmail.com> | 2015-10-28 11:07:41 +0000 |
commit | 64c2bfbc4f5daba2ee55acb58a2929070a846b6e (patch) | |
tree | 7bd02f62da485456186742a00546471146c54614 | |
parent | 61b63f460ddfb443e2575e4fa7e7714b17579659 (diff) | |
download | emacs-64c2bfbc4f5daba2ee55acb58a2929070a846b6e.tar.gz |
* src/process.c (Fget_buffer_process): Improve docstring
Document the fact that it doesn't return dead processes.
-rw-r--r-- | src/process.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index dc93b86cee2..ed1d59d01b0 100644 --- a/src/process.c +++ b/src/process.c @@ -7176,8 +7176,10 @@ setup_process_coding_systems (Lisp_Object process) } DEFUN ("get-buffer-process", Fget_buffer_process, Sget_buffer_process, 1, 1, 0, - doc: /* Return the (or a) process associated with BUFFER. -BUFFER may be a buffer or the name of one. */) + doc: /* Return the (or a) live process associated with BUFFER. +BUFFER may be a buffer or the name of one. +Return nil if all processes associated with BUFFER have been +deleted or killed. */) (register Lisp_Object buffer) { #ifdef subprocesses |