compilation-finish-function
compilation-finish-function is a variable defined in `compile.el
'.Its value is
nil
- This variable is obsolete since 22.1;
use `compilation-finish-functions', but it works a little differently. - This variable may be risky if used as a file-local variable.
Documentation:
Function to call when a compilation process finishes.
It is called with two arguments: the compilation buffer, and a string
describing how the process finished.