Sets the buffer's read/write state. The parameter value read_only prevents LSE from writing the contents of the current buffer to a file upon exiting LSE or compiling the contents of the buffer.