diff options
| author | Miles Bader | 2001-11-08 11:54:06 +0000 |
|---|---|---|
| committer | Miles Bader | 2001-11-08 11:54:06 +0000 |
| commit | 41e88a97ad88beeb3ab9d0e6b74cc3f498366fea (patch) | |
| tree | 0c073b1a2cd8dfff67c723895cf365b5d23f1058 | |
| parent | d38b07f9a9a9c20d7412ad313b9357bfdd3df481 (diff) | |
| download | emacs-41e88a97ad88beeb3ab9d0e6b74cc3f498366fea.tar.gz emacs-41e88a97ad88beeb3ab9d0e6b74cc3f498366fea.zip | |
(comint-send-input): Fix description of `comint-process-echoes' in the
doc-string.
| -rw-r--r-- | lisp/comint.el | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index d3b6cd0bef0..64f04904557 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -1353,12 +1353,10 @@ Ignore duplicates if `comint-input-ignoredups' is non-nil." | |||
| 1353 | (defun comint-send-input () | 1353 | (defun comint-send-input () |
| 1354 | "Send input to process. | 1354 | "Send input to process. |
| 1355 | After the process output mark, sends all text from the process mark to | 1355 | After the process output mark, sends all text from the process mark to |
| 1356 | point as input to the process. Before the process output mark, calls value | 1356 | point as input to the process. Before the process output mark, calls |
| 1357 | of variable `comint-get-old-input' to retrieve old input, copies it to the | 1357 | value of variable `comint-get-old-input' to retrieve old input, copies |
| 1358 | process mark, and sends it. If variable `comint-process-echoes' is nil, | 1358 | it to the process mark, and sends it. A terminal newline is also |
| 1359 | a terminal newline is also inserted into the buffer and sent to the process | 1359 | inserted into the buffer and sent to the process. |
| 1360 | \(if it is non-nil, all text from the process mark to point is deleted, | ||
| 1361 | since it is assumed the remote process will re-echo it). | ||
| 1362 | 1360 | ||
| 1363 | Any history reference may be expanded depending on the value of the variable | 1361 | Any history reference may be expanded depending on the value of the variable |
| 1364 | `comint-input-autoexpand'. The list of function names contained in the value | 1362 | `comint-input-autoexpand'. The list of function names contained in the value |
| @@ -1369,6 +1367,10 @@ The input is entered into the input history ring, if the value of variable | |||
| 1369 | If variable `comint-eol-on-send' is non-nil, then point is moved to the | 1367 | If variable `comint-eol-on-send' is non-nil, then point is moved to the |
| 1370 | end of line before sending the input. | 1368 | end of line before sending the input. |
| 1371 | 1369 | ||
| 1370 | After the input has been sent, if `comint-process-echoes' is non-nil, | ||
| 1371 | then comint-send-input waits to see if the process outputs a string | ||
| 1372 | matching the input, and if so, deletes that part of the output. | ||
| 1373 | |||
| 1372 | The values of `comint-get-old-input', `comint-input-filter-functions', and | 1374 | The values of `comint-get-old-input', `comint-input-filter-functions', and |
| 1373 | `comint-input-filter' are chosen according to the command interpreter running | 1375 | `comint-input-filter' are chosen according to the command interpreter running |
| 1374 | in the buffer. E.g., | 1376 | in the buffer. E.g., |