addStartFunction (() -> ...) -- record a function for later execution, when the program is restarted after loading dumped data.
See also:
Code:
-- ../../../Macaulay2/m2/setup.m2:234-236 addStartFunction = g -> ( startFunctions = append(startFunctions,g); g)