Called before an interface is destroyed during session saving.
capi
interface-preserve-state interface
interface⇩ |
An interface. |
The generic function interface-preserve-state
is called by hcl:save-current-session just before it destroys interface. It is called in the process that runs interface. You can specialize this for your own interface classes. Your methods should not interact with the user or other external sources, and should not interact with other processes, because it is called after hcl:save-current-session already started to destroy interfaces.
The return value is not used.
The default method does nothing.
interface-preserving-state-p
7.7.6 Preserving information when saving an IDE session
CAPI User Guide and Reference Manual (Unix version) - 01 Dec 2021 19:32:42