changeset 105195:5b4bbf79ac2a

* comint.el (comint-exec, comint-run, make-comint): Doc fixes (Bug#4542).
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 25 Sep 2009 03:42:22 +0000
parents 35632fd1c56a
children d991506f9286
files lisp/ChangeLog lisp/comint.el
diffstat 2 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Sep 25 03:39:23 2009 +0000
+++ b/lisp/ChangeLog	Fri Sep 25 03:42:22 2009 +0000
@@ -1,3 +1,8 @@
+2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
+
+	* comint.el (comint-exec, comint-run, make-comint): Doc
+	fixes (Bug#4542).
+
 2009-09-25  Glenn Morris  <rgm@gnu.org>
 
 	* mail/rmailmm.el (rmail-mime): New custom group.
--- a/lisp/comint.el	Fri Sep 25 03:39:23 2009 +0000
+++ b/lisp/comint.el	Fri Sep 25 03:42:22 2009 +0000
@@ -686,7 +686,8 @@
 via `start-file-process', or a cons pair of the form (HOST . SERVICE) denoting
 a TCP connection to be opened via `open-network-stream'.  If there is already
 a running process in that buffer, it is not restarted.  Optional fourth arg
-STARTFILE is the name of a file to send the contents of to the process.
+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."
   (or (fboundp 'start-file-process)
@@ -709,7 +710,8 @@
 via `start-file-process', or a cons pair of the form (HOST . SERVICE) denoting
 a TCP connection to be opened via `open-network-stream'.  If there is already
 a running process in that buffer, it is not restarted.  Optional third arg
-STARTFILE is the name of a file to send the contents of the process to.
+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."
   (apply #'make-comint-in-buffer name nil program startfile switches))
@@ -728,7 +730,7 @@
 
 (defun comint-exec (buffer name command startfile switches)
   "Start up a process named NAME in buffer BUFFER for Comint modes.
-Runs the given COMMAND with SWITCHES with output to STARTFILE.
+Runs the given COMMAND with SWITCHES, and initial input from STARTFILE.
 Blasts any old process running in the buffer.  Doesn't set the buffer mode.
 You can use this to cheaply run a series of processes in the same Comint
 buffer.  The hook `comint-exec-hook' is run after each exec."