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