compilation-filter

compilation-filter is a compiled Lisp function in `compile.el'.

(compilation-filter PROC STRING)

Process filter for compilation buffers.
Just inserts the text,
handles carriage motion (see `comint-inhibit-carriage-motion'),
and runs `compilation-filter-hook'.