Called just after the editor is saved to a file. The argument to the method specifies whether the save was sucessful or not. See also can-save-file?and on-save-file.
Checks if the newly saved file is write-only in the filesystem. If so, locks the editor with the lock method. Otherwise unlocks the buffer