Called just after the buffer is saved to a file. The argument to the method specifies whether the save was sucessful or not. See also on-save-file.
Updates the buffer's lock status based on the status of the file that was saved.