emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 64c2bfb: * src/process.c (Fget_buffer_process): Imp


From: Artur Malabarba
Subject: [Emacs-diffs] master 64c2bfb: * src/process.c (Fget_buffer_process): Improve docstring
Date: Wed, 28 Oct 2015 11:07:53 +0000

branch: master
commit 64c2bfbc4f5daba2ee55acb58a2929070a846b6e
Author: Artur Malabarba <address@hidden>
Commit: Artur Malabarba <address@hidden>

    * src/process.c (Fget_buffer_process): Improve docstring
    
    Document the fact that it doesn't return dead processes.
---
 src/process.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/process.c b/src/process.c
index dc93b86..ed1d59d 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]