compilation-start-hook
compilation-start-hook
is a variable defined in `
compile.el
'. Its value is
nil
This variable may be risky if used as a file-local variable.
Documentation:
Hook run after starting a new compilation process. The hook is run with one argument, the new process. You can customize this variable.