aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2005-06-10 00:17:49 +0000
committerJuanma Barranquero2005-06-10 00:17:49 +0000
commit54fc2b6add0885be49b29c8b3ac6e8620d282cce (patch)
treec5c057aabfc6b340ed8f4cec51aecdce181e46ee
parentc14ec13543ea0bef97466957bc17e071a16b7419 (diff)
downloademacs-54fc2b6add0885be49b29c8b3ac6e8620d282cce.tar.gz
emacs-54fc2b6add0885be49b29c8b3ac6e8620d282cce.zip
(comint-check-proc, make-comint-in-buffer, comint-source-default): Doc fixes.
(comint-mode, comint-snapshot-last-prompt): Fix typos in docstring.
-rw-r--r--lisp/comint.el10
1 files changed, 5 insertions, 5 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index c3bdd5581bc..14913c7ef11 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -583,7 +583,7 @@ Return not at end copies rest of line to end and sends it.
583Setting variable `comint-eol-on-send' means jump to the end of the line 583Setting variable `comint-eol-on-send' means jump to the end of the line
584before submitting new input. 584before submitting new input.
585 585
586This mode is customised to create major modes such as Inferior Lisp 586This mode is customized to create major modes such as Inferior Lisp
587mode, Shell mode, etc. This can be done by setting the hooks 587mode, Shell mode, etc. This can be done by setting the hooks
588`comint-input-filter-functions', `comint-input-filter', `comint-input-sender' 588`comint-input-filter-functions', `comint-input-filter', `comint-input-sender'
589and `comint-get-old-input' to appropriate functions, and the variable 589and `comint-get-old-input' to appropriate functions, and the variable
@@ -654,7 +654,7 @@ Entry to this mode runs the hooks on `comint-mode-hook'."
654 (set (make-local-variable 'next-line-add-newlines) nil)) 654 (set (make-local-variable 'next-line-add-newlines) nil))
655 655
656(defun comint-check-proc (buffer) 656(defun comint-check-proc (buffer)
657 "Return t if there is a living process associated w/buffer BUFFER. 657 "Return non-nil if there is a living process associated w/buffer BUFFER.
658Living means the status is `open', `run', or `stop'. 658Living means the status is `open', `run', or `stop'.
659BUFFER can be either a buffer or the name of one." 659BUFFER can be either a buffer or the name of one."
660 (let ((proc (get-buffer-process buffer))) 660 (let ((proc (get-buffer-process buffer)))
@@ -667,7 +667,7 @@ If BUFFER is nil, it defaults to NAME surrounded by `*'s.
667PROGRAM should be either a string denoting an executable program to create 667PROGRAM should be either a string denoting an executable program to create
668via `start-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP 668via `start-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP
669connection to be opened via `open-network-stream'. If there is already a 669connection to be opened via `open-network-stream'. If there is already a
670running process in that buffer, it is not restarted. Optional third arg 670running process in that buffer, it is not restarted. Optional fourth arg
671STARTFILE is the name of a file to send the contents of to the process. 671STARTFILE is the name of a file to send the contents of to the process.
672 672
673If PROGRAM is a string, any more args are arguments to PROGRAM." 673If PROGRAM is a string, any more args are arguments to PROGRAM."
@@ -1583,7 +1583,7 @@ See `comint-carriage-motion' for details.")
1583 1583
1584(defun comint-snapshot-last-prompt () 1584(defun comint-snapshot-last-prompt ()
1585 "`snapshot' any current `comint-last-prompt-overlay'. 1585 "`snapshot' any current `comint-last-prompt-overlay'.
1586freeze its attributes in place, even when more input comes a long 1586Freeze its attributes in place, even when more input comes along
1587and moves the prompt overlay." 1587and moves the prompt overlay."
1588 (when comint-last-prompt-overlay 1588 (when comint-last-prompt-overlay
1589 (let ((inhibit-read-only t) 1589 (let ((inhibit-read-only t)
@@ -2389,7 +2389,7 @@ updated using `comint-update-fence', if necessary."
2389 "Compute the defaults for `load-file' and `compile-file' commands. 2389 "Compute the defaults for `load-file' and `compile-file' commands.
2390 2390
2391PREVIOUS-DIR/FILE is a pair (directory . filename) from the last 2391PREVIOUS-DIR/FILE is a pair (directory . filename) from the last
2392source-file processing command. nil if there hasn't been one yet. 2392source-file processing command, or nil if there hasn't been one yet.
2393SOURCE-MODES is a list used to determine what buffers contain source 2393SOURCE-MODES is a list used to determine what buffers contain source
2394files: if the major mode of the buffer is in SOURCE-MODES, it's source. 2394files: if the major mode of the buffer is in SOURCE-MODES, it's source.
2395Typically, (lisp-mode) or (scheme-mode). 2395Typically, (lisp-mode) or (scheme-mode).