Fix documentation of list-processes and process-list.
authorEli Zaretskii <eliz@gnu.org>
Fri, 26 Jul 2013 18:48:05 +0000 (21:48 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 26 Jul 2013 18:48:05 +0000 (21:48 +0300)
 src/process.c (Fprocess_list): Doc fix.

 lisp/simple.el (list-processes): Doc fix.

lisp/ChangeLog
lisp/simple.el
src/ChangeLog
src/process.c

index 9aecbd0..65bbc8a 100644 (file)
@@ -3,6 +3,10 @@
        * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
        `base' arg of backtrace-frame.
 
+2013-07-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (list-processes): Doc fix.
+
 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
 
        * desktop.el (desktop--select-frame):
index 6f5cac2..1fb2fa6 100644 (file)
@@ -3141,14 +3141,17 @@ Also, delete any process that is exited or signaled."
   (display-buffer (button-get button 'process-buffer)))
 
 (defun list-processes (&optional query-only buffer)
-  "Display a list of all processes.
+  "Display a list of all processes that are Emacs sub-processes.
 If optional argument QUERY-ONLY is non-nil, only processes with
 the query-on-exit flag set are listed.
 Any process listed as exited or signaled is actually eliminated
 after the listing is made.
 Optional argument BUFFER specifies a buffer to use, instead of
 \"*Process List*\".
-The return value is always nil."
+The return value is always nil.
+
+This function lists only processes that were launched by Emacs.  To
+see other processes running on the system, use `list-system-processes'."
   (interactive)
   (or (fboundp 'process-list)
       (error "Asynchronous subprocesses are not supported on this system"))
index 59eb16a..38fa72b 100644 (file)
@@ -1,5 +1,7 @@
 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
 
+       * process.c (Fprocess_list): Doc fix.
+
        * w32term.c (w32_read_socket) <WM_EMACS_PAINT>: Warn about frame
        being re-exposed only if it didn't ask to become visible.
        <WM_SIZE>: Under SIZE_RESTORED, only set the frame visible if it
index 34783fa..d87a180 100644 (file)
@@ -1330,7 +1330,7 @@ Returns nil if format of ADDRESS is invalid.  */)
 }
 
 DEFUN ("process-list", Fprocess_list, Sprocess_list, 0, 0, 0,
-       doc: /* Return a list of all processes.  */)
+       doc: /* Return a list of all processes that are Emacs sub-processes.  */)
   (void)
 {
   return Fmapcar (Qcdr, Vprocess_alist);