summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2010-06-23 23:38:09 -0700
committerGlenn Morris <rgm@gnu.org>2010-06-23 23:38:09 -0700
commit2330fa87a59b3633a09901e988a1518f97ffa645 (patch)
tree22ea69dd0ae9ce40b5b7e211da2fbef87fbc1bd7 /lisp/comint.el
parent29115ca9b0ba59c66c2911ebbb0e651b31e7b3db (diff)
downloademacs-2330fa87a59b3633a09901e988a1518f97ffa645.tar.gz
Doc fix.
* lisp/comint.el (make-comint, make-comint-in-buffer): Mention return value in the docstrings. (Bug#6498)
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index f66cdf1bb9d..d5d17357ed1 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -696,7 +696,9 @@ a running process in that buffer, it is not restarted. Optional fourth arg
STARTFILE is the name of a file, whose contents are sent to the
process as its initial input.
-If PROGRAM is a string, any more args are arguments to PROGRAM."
+If PROGRAM is a string, any more args are arguments to PROGRAM.
+
+Returns the (possibly newly created) process buffer."
(or (fboundp 'start-file-process)
(error "Multi-processing is not supported for this system"))
(setq buffer (get-buffer-create (or buffer (concat "*" name "*"))))
@@ -720,7 +722,9 @@ a running process in that buffer, it is not restarted. Optional third arg
STARTFILE is the name of a file, whose contents are sent to the
process as its initial input.
-If PROGRAM is a string, any more args are arguments to PROGRAM."
+If PROGRAM is a string, any more args are arguments to PROGRAM.
+
+Returns the (possibly newly created) process buffer."
(apply #'make-comint-in-buffer name nil program startfile switches))
;;;###autoload