comint-last-input-end to valid markers.
(comint-send-input): Use comint-output-filter to run
functions on comint-output-filter-functions.
(comint-kill-output): Use delete-region to remove, and
comint-output-filter to insert.
comint-dynamic-complete-filename-command,
comint-dynamic-complete-command-command,
comint-get-current-command): Deleted.
(comint-input-sentinel-functions): Replaces comint-input-sentinel.
(comint-input-sentinel): Deleted.
(comint-send-input): Run hooks on comint-input-sentinel-functions.
(comint-output-sentinel-functions): Rename from comint-output-filter-functions.
(comint-dynamic-complete-functions): New variable.
(comint-mode-map): Removed menu-bar for command and variable completion.
(comint-exec-1): Add to environment by hand; avoids using setenv.
(comint-replace-by-expanded-history-before-point):
Renamed from comint-replace-by-expanded-history.
(comint-replace-by-expanded-history): New wrapper definition.
(comint-word): New function.
(comint-match-partial-filename): Use it.
(comint-after-partial-filename, comint-match-partial-variable,
comint-dynamic-complete-variable): Deleted.
(comint-dynamic-complete): Run hooks on comint-dynamic-complete-functions.
(comint-dynamic-complete-as-filename): Renamed from
function comint-dynamic-complete-filename.
(comint-dynamic-complete-filename): New wrapper definition.
(comint-dynamic-simple-complete): Return a symbol representing completion.
and detect whether it has any quotes.
(comint-delim-arg): Don't check for quotes. Use loop, not regexps.
(comint-delimiter-argument-list): List now has chars, not strings.
(comint-replace-by-expanded-history): New arg SILENT.
(comint-send-input): Pass t as new arg.
(comint-mode-map): Put comint-show-output on C-M-l.
(comint-preinput-scroll-to-bottom): Removed calls to
window-minibuffer-p and 'not-minibuf arg to walk-windows.
Removed mouse-yank-at-click from command list and doc string.
Removed duplicate test for comint-scroll-to-bottom-on-input (scroll).
Removed test for 'this within walk-windows code.
(comint-postoutput-scroll-to-bottom):
Don't select a different buffer permanently.
(comint-prompt-regexp): Fixed documentation.
(comint-replace-by-expanded-history):
Use skip-chars-forward to advance in main loop.
to set HISTORY, even if comint-input-autoexpand is not `history'.
When comint-input-autoexpand is `history', undo part of prev change:
do put INPUT back in the buffer in place of expanded hist.