eshell-exit-hook
eshell-exit-hook is a variable defined in `
esh-mode.el
'.
Its value is
nil
- This variable may be risky if used as a file-local variable.
Documentation:
A hook that is run whenever `eshell' is exited.
This hook is only run if exiting actually kills the buffer.
You can customize this variable.
This variable was introduced, or its default value was changed, in
version 24.1 of Emacs.