eshell-kill-hook

eshell-kill-hook is a variable defined in `esh-proc.el'.
Its value is
nil

  • This variable may be risky if used as a file-local variable.

Documentation:
Called when a process run by `eshell-gather-process-output' has ended.
It is passed two arguments: the process that was just ended, and the
termination status (as a string). Note that the first argument may be
nil, in which case the user attempted to send a signal, but there was
no relevant process. This can be used for displaying help
information, for example.

You can customize this variable.

This variable was introduced, or its default value was changed, in version 24.1 of Emacs.