369 |
history list. Default is to save anything that isn't all whitespace.") |
history list. Default is to save anything that isn't all whitespace.") |
370 |
|
|
371 |
(defvar comint-input-filter-functions '() |
(defvar comint-input-filter-functions '() |
372 |
"Special hook run before input is sent to the process. |
"Abnormal hook run before input is sent to the process. |
373 |
These functions get one argument, a string containing the text to send.") |
These functions get one argument, a string containing the text to send.") |
374 |
|
|
375 |
(defvar comint-output-filter-functions '(comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt) |
(defvar comint-output-filter-functions '(comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt) |
788 |
|
|
789 |
(defun comint-insert-input (&optional event) |
(defun comint-insert-input (&optional event) |
790 |
"In a Comint buffer, set the current input to the previous input at point." |
"In a Comint buffer, set the current input to the previous input at point." |
791 |
(interactive (list last-input-event)) |
(interactive "@") |
792 |
(if event (mouse-set-point event)) |
(if event (mouse-set-point event)) |
793 |
(let ((pos (point))) |
(let ((pos (point))) |
794 |
(if (not (eq (get-char-property pos 'field) 'input)) |
(if (not (eq (get-char-property pos 'field) 'input)) |
2282 |
|
|
2283 |
(defun comint-kill-whole-line (&optional arg) |
(defun comint-kill-whole-line (&optional arg) |
2284 |
"Kill current line, ignoring read-only and field properties. |
"Kill current line, ignoring read-only and field properties. |
2285 |
With prefix ARG, kill that many lines starting from the current line. |
With prefix arg, kill that many lines starting from the current line. |
2286 |
If arg is negative, kill backward. Also kill the preceding newline, |
If arg is negative, kill backward. Also kill the preceding newline, |
2287 |
instead of the trailing one. \(This is meant to make \\[repeat] work well |
instead of the trailing one. \(This is meant to make \\[repeat] work well |
2288 |
with negative arguments.) |
with negative arguments.) |
2430 |
|
|
2431 |
See `comint-source-default' for more on determining defaults. |
See `comint-source-default' for more on determining defaults. |
2432 |
|
|
2433 |
PROMPT is the prompt string. PREV-DIR/FILE is the (directory . file) pair |
PROMPT is the prompt string. PREV-DIR/FILE is the (DIRECTORY . FILE) pair |
2434 |
from the last source processing command. SOURCE-MODES is a list of major |
from the last source processing command. SOURCE-MODES is a list of major |
2435 |
modes used to determine what file buffers contain source files. (These |
modes used to determine what file buffers contain source files. (These |
2436 |
two arguments are used for determining defaults). If MUSTMATCH-P is true, |
two arguments are used for determining defaults). If MUSTMATCH-P is true, |