on-save-file in editor<%>

Called just before the editor is saved to a file, after calling can-save-file? to verify that the save is allowed. See also after-save-file.