Saves the LispWorks session.
hcl
save-current-session pathname &rest save-image-args => result
| pathname⇩ |
A pathname designator. |
| save-image-args⇩ |
Arguments. |
| result |
A boolean. |
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 13.4 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 macOS Dock) will run itself only if the default session is "LispWorks Release".
LispWorks® User Guide and Reference Manual - 18 Feb 2025 15:32:21