save-file in editor<%>
Saves the editor into a file and returns #t. If an error
occurs, an exception is raised.
The filename and format used to save the file can be retrieved with
get-filename. In a text% instance, the format can be retrieved
with
get-file-format.
See also
on-save-file,
after-save-file, and
can-save-file?.
Under Mac OS X, the file's type signature is set to "TEXT"
for a text-format file or "WXME" for a standard-format
(binary) file.
(-> booleansendan-editorsave-filefilenameformatshow-errors?)
filename=#f: path or#f
format='same: symbol in'(guess standard text text-force-cr same copy)
show-errors?=#t: booleanIf
filenameis#f, then the internally stored filename will be used; iffilenameis""or if the internal name is unset or temporary, then the user will be prompted for a name. The possible values forformatare described atload-file.The
show-errors?argument is no longer used.