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.
(comint-mode): Use pre-command-hook, not before-change-function.
(comint-preinput-scroll-to-bottom): Take no arguments.
(comint-output-filter-functions): Renamed from comint-output-filter-hook.
(comint-output-filter): Pass STRING as arg to output hook functions.
(comint-preinput-scroll-to-bottom): Take an arg.
Move point to new process mark if it was at the old one.
Scroll so only if point is at or after the process mark.
When scrolling, put end of text on bottom line, regardless of point.