summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2013-07-26 21:48:05 +0300
committerEli Zaretskii <eliz@gnu.org>2013-07-26 21:48:05 +0300
commitfec9206062b420aca84f53d05a72c3ee43244022 (patch)
tree3108946a7118c6b5c75eba94d7205dfa870b21d4 /lisp
parent7ced0d044656b5fa4a9cd2bcc2326908be432bcf (diff)
downloademacs-fec9206062b420aca84f53d05a72c3ee43244022.tar.gz
Fix documentation of list-processes and process-list.
src/process.c (Fprocess_list): Doc fix. lisp/simple.el (list-processes): Doc fix.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el7
2 files changed, 9 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9aecbd0f280..65bbc8a305b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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):
diff --git a/lisp/simple.el b/lisp/simple.el
index 6f5cac2d011..1fb2fa6014c 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -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"))