Called just before the editor is saved to a file. If the return value is #f, the file is not saved. See also on-save-file and after-save-file.
The filename argument is the name the file will be saved to. See load-file for information about format.