1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 02:51:31 -08:00

(Special Properties): String value of `read-only' serves as the error message.

This commit is contained in:
Richard M. Stallman 2006-06-16 15:21:54 +00:00
parent 11bfb6938a
commit 55111a5638

View file

@ -3098,7 +3098,8 @@ about this particular character. @xref{Syntax Properties}.
@kindex read-only @r{(text property)}
If a character has the property @code{read-only}, then modifying that
character is not allowed. Any command that would do so gets an error,
@code{text-read-only}.
@code{text-read-only}. If the property value is a string, that string
is used as the error message.
Insertion next to a read-only character is an error if inserting
ordinary text there would inherit the @code{read-only} property due to