Emacs has the concept of a default process sentinel - but this is not documented in the emacs lisp reference manual.