buffer-file-read-only

buffer-file-read-only is a variable defined in `files.el'.
Its value is
nil

  • Automatically becomes buffer-local when set.

Documentation:
Non-nil if visited file was read-only when visited.