]> code.delx.au - gnu-emacs/commitdiff
* src/process.c (Fget_buffer_process): Improve docstring
authorArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 28 Oct 2015 11:07:41 +0000 (11:07 +0000)
committerArtur Malabarba <bruce.connor.am@gmail.com>
Wed, 28 Oct 2015 11:07:41 +0000 (11:07 +0000)
Document the fact that it doesn't return dead processes.

src/process.c

index dc93b86cee2796dc97b80493312e6cfd2afaac28..ed1d59d01b0d21638a91da13e5aae8a066538a5e 100644 (file)
@@ -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