* comint.el (comint-exec, comint-run, make-comint): Doc
authorChong Yidong <cyd@stupidchicken.com>
Fri, 25 Sep 2009 03:42:22 +0000 (03:42 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Fri, 25 Sep 2009 03:42:22 +0000 (03:42 +0000)
fixes (Bug#4542).

lisp/ChangeLog
lisp/comint.el

index 58662b7..bbfdf59 100644 (file)
@@ -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.
index 36d7de5..cc04bd9 100644 (file)
@@ -686,7 +686,8 @@ PROGRAM should be either a string denoting an executable program to create
 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 @@ PROGRAM should be either a string denoting an executable program to create
 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 @@ See `make-comint' and `comint-exec'."
 
 (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."