diff options
| author | Juanma Barranquero | 2005-06-10 00:17:49 +0000 |
|---|---|---|
| committer | Juanma Barranquero | 2005-06-10 00:17:49 +0000 |
| commit | 54fc2b6add0885be49b29c8b3ac6e8620d282cce (patch) | |
| tree | c5c057aabfc6b340ed8f4cec51aecdce181e46ee | |
| parent | c14ec13543ea0bef97466957bc17e071a16b7419 (diff) | |
| download | emacs-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.el | 10 |
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. | |||
| 583 | Setting variable `comint-eol-on-send' means jump to the end of the line | 583 | Setting variable `comint-eol-on-send' means jump to the end of the line |
| 584 | before submitting new input. | 584 | before submitting new input. |
| 585 | 585 | ||
| 586 | This mode is customised to create major modes such as Inferior Lisp | 586 | This mode is customized to create major modes such as Inferior Lisp |
| 587 | mode, Shell mode, etc. This can be done by setting the hooks | 587 | mode, 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' |
| 589 | and `comint-get-old-input' to appropriate functions, and the variable | 589 | and `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. |
| 658 | Living means the status is `open', `run', or `stop'. | 658 | Living means the status is `open', `run', or `stop'. |
| 659 | BUFFER can be either a buffer or the name of one." | 659 | BUFFER 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. | |||
| 667 | PROGRAM should be either a string denoting an executable program to create | 667 | PROGRAM should be either a string denoting an executable program to create |
| 668 | via `start-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP | 668 | via `start-process', or a cons pair of the form (HOST . SERVICE) denoting a TCP |
| 669 | connection to be opened via `open-network-stream'. If there is already a | 669 | connection to be opened via `open-network-stream'. If there is already a |
| 670 | running process in that buffer, it is not restarted. Optional third arg | 670 | running process in that buffer, it is not restarted. Optional fourth arg |
| 671 | STARTFILE is the name of a file to send the contents of to the process. | 671 | STARTFILE is the name of a file to send the contents of to the process. |
| 672 | 672 | ||
| 673 | If PROGRAM is a string, any more args are arguments to PROGRAM." | 673 | If 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'. |
| 1586 | freeze its attributes in place, even when more input comes a long | 1586 | Freeze its attributes in place, even when more input comes along |
| 1587 | and moves the prompt overlay." | 1587 | and 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 | ||
| 2391 | PREVIOUS-DIR/FILE is a pair (directory . filename) from the last | 2391 | PREVIOUS-DIR/FILE is a pair (directory . filename) from the last |
| 2392 | source-file processing command. nil if there hasn't been one yet. | 2392 | source-file processing command, or nil if there hasn't been one yet. |
| 2393 | SOURCE-MODES is a list used to determine what buffers contain source | 2393 | SOURCE-MODES is a list used to determine what buffers contain source |
| 2394 | files: if the major mode of the buffer is in SOURCE-MODES, it's source. | 2394 | files: if the major mode of the buffer is in SOURCE-MODES, it's source. |
| 2395 | Typically, (lisp-mode) or (scheme-mode). | 2395 | Typically, (lisp-mode) or (scheme-mode). |