desktop-save

desktop-save is an interactive autoloaded compiled Lisp function in `desktop.el'.


(desktop-save DIRNAME &optional RELEASE ONLY-IF-CHANGED)

Save the desktop in a desktop file.
Parameter DIRNAME specifies where to save the desktop file.
Optional parameter RELEASE says whether we're done with this desktop.
If ONLY-IF-CHANGED is non-nil, compare the current desktop information
to that in the desktop file, and if the desktop information has not
changed since it was last saved then do not rewrite the file.