Skip to content

Instantly share code, notes, and snippets.

@bbhoss
Created September 8, 2015 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bbhoss/93fd79497fd3098c3431 to your computer and use it in GitHub Desktop.
Save bbhoss/93fd79497fd3098c3431 to your computer and use it in GitHub Desktop.
comint-output-filter-functions is a variable defined in `comint.el'.
Its value is (comint-truncate-buffer . comint-truncate-buffer)
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment