In Emacs I am using cm-mode with markdown buffers. cm-mode inserts a few read-only characters to indicate document changes. When I issue fill-paragraph
the fill is aborted with the message read-only Text
.
Is there a way to fill a paragraph containing a few read-only characters? (I.e. after the fill the read-only characters should be read-only again.)
Bind or temporarily set inhibit-read-only
to non-nil. C-h v
tells us:
inhibit-read-only
is a variable defined inC source code
.Its value is
nil
Documentation:
Non-
nil
means disregard read-only status of buffers or characters.If the value is
t
, disregardbuffer-read-only
and allread-only
text properties. If the value is a list, disregardbuffer-read-only
and disregard aread-only
text property if the property value is a member of the list.