Mercurial > emacs
changeset 71374:a358bd87a242
(Special Properties): String value of `read-only' serves as the error message.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Fri, 16 Jun 2006 15:21:54 +0000 |
parents | f86289963a5c |
children | 706e41b8c07f |
files | lispref/text.texi |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lispref/text.texi Fri Jun 16 15:19:06 2006 +0000 +++ b/lispref/text.texi Fri Jun 16 15:21:54 2006 +0000 @@ -3098,7 +3098,8 @@ @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