comint-output-filter-functions

comint-output-filter-functions is a variable defined in `comint.el'.
Its value is

(ansi-color-process-output comint-postoutput-scroll-to-bottom comint-watch-for-password-prompt)

  • This variable's value is permanent if it is given a local binding.
  • This variable may be risky if used as a file-local variable.

Documentation:
Functions to call after output is inserted into the buffer.
One possible function is `comint-postoutput-scroll-to-bottom'.
These functions get one argument, a string containing the text as originally
inserted. Note that this might not be the same as the buffer contents between
`comint-last-output-start' and the buffer's `process-mark', if other filter
functions have already modified the buffer.

See also `comint-preoutput-filter-functions'.

You can use `add-hook' to add functions to this list
either globally or locally.