aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorŠtěpán Němec2010-06-23 23:38:09 -0700
committerGlenn Morris2010-06-23 23:38:09 -0700
commit2330fa87a59b3633a09901e988a1518f97ffa645 (patch)
tree22ea69dd0ae9ce40b5b7e211da2fbef87fbc1bd7
parent29115ca9b0ba59c66c2911ebbb0e651b31e7b3db (diff)
downloademacs-2330fa87a59b3633a09901e988a1518f97ffa645.tar.gz
emacs-2330fa87a59b3633a09901e988a1518f97ffa645.zip
Doc fix.
* lisp/comint.el (make-comint, make-comint-in-buffer): Mention return value in the docstrings. (Bug#6498)
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/comint.el8
2 files changed, 11 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index c4de198ab29..4c816a779e9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-06-24 Štěpán Němec <stepnem@gmail.com> (tiny change)
2
3 * comint.el (make-comint, make-comint-in-buffer): Mention return
4 value in the docstrings. (Bug#6498)
5
12010-06-24 Yoni Rabkin <yoni@rabkins.net> 62010-06-24 Yoni Rabkin <yoni@rabkins.net>
2 7
3 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern, 8 * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
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
696STARTFILE is the name of a file, whose contents are sent to the 696STARTFILE is the name of a file, whose contents are sent to the
697process as its initial input. 697process as its initial input.
698 698
699If PROGRAM is a string, any more args are arguments to PROGRAM." 699If PROGRAM is a string, any more args are arguments to PROGRAM.
700
701Returns the (possibly newly created) process buffer."
700 (or (fboundp 'start-file-process) 702 (or (fboundp 'start-file-process)
701 (error "Multi-processing is not supported for this system")) 703 (error "Multi-processing is not supported for this system"))
702 (setq buffer (get-buffer-create (or buffer (concat "*" name "*")))) 704 (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
720STARTFILE is the name of a file, whose contents are sent to the 722STARTFILE is the name of a file, whose contents are sent to the
721process as its initial input. 723process as its initial input.
722 724
723If PROGRAM is a string, any more args are arguments to PROGRAM." 725If PROGRAM is a string, any more args are arguments to PROGRAM.
726
727Returns the (possibly newly created) process buffer."
724 (apply #'make-comint-in-buffer name nil program startfile switches)) 728 (apply #'make-comint-in-buffer name nil program startfile switches))
725 729
726;;;###autoload 730;;;###autoload