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.