Variable: inhibit-read-only

inhibit-read-only is a variable defined in buffer.c.

Value

nil

Documentation

Non-nil means disregard read-only status of buffers or characters.

A non-nil value that is a list means disregard buffer-read-only status, and disregard a read-only text property if the property value is a member of the list. Any other non-nil value means disregard buffer-read-only and all read-only text properties.

View in manual

Probably introduced at or before Emacs version 19.20.

Source Code

// Defined in /usr/src/emacs/src/buffer.c
  DEFVAR_LISP ("inhibit-read-only", Vinhibit_read_only,
	       doc: /* Non-nil means disregard read-only status of buffers or characters.
A non-nil value that is a list means disregard `buffer-read-only' status,
and disregard a `read-only' text property if the property value is a
member of the list.  Any other non-nil value means disregard `buffer-read-only'
and all `read-only' text properties.  */);