The function save-current-session
closes all windows and stops multiprocessing, saves an image at the location supplied in pathname, and restarts multiprocessing and the windows. For more information see Saved sessions.
save-image-args are passed to the saving function, which is save-image on Windows, GTK and Motif, or save-image-with-bundle on Cocoa.
save-current-session
returns nil
if the pathname supplied is unacceptable (not writable), otherwise it returns t
. The actual operation is done asynchronously.
save-current-session
is intended for saving the state of a windowing image. While save-current-session
can be used to save a session in a console image, this achieves nothing more than save-image.save-current-session
, starting the supplied image (for example via the Windows start menu or MAc OS X Dock) will run itself only if the default session is "LispWorks Release".LispWorks User Guide and Reference Manual - 13 Feb 2015