Variable: delete-terminal-functions
delete-terminal-functions is a variable defined in terminal.c.
Value
nil
Documentation
Special hook run when a terminal is deleted.
Each function is called with argument, the terminal. This may be called just before actually deleting the terminal, or some time later.
Probably introduced at or before Emacs version 23.1.
Source Code
// Defined in /usr/src/emacs/src/terminal.c
DEFVAR_LISP ("delete-terminal-functions", Vdelete_terminal_functions,
doc: /* Special hook run when a terminal is deleted.
Each function is called with argument, the terminal.
This may be called just before actually deleting the terminal,
or some time later. */);