summaryrefslogtreecommitdiff
path: root/doc/lispref/text.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2021-11-14 18:55:37 +0200
committerEli Zaretskii <eliz@gnu.org>2021-11-14 18:55:37 +0200
commitacbc7239021e902470d36d99e6c607080fff8fc5 (patch)
treed3d2b9124fcf29d8b16a77bb1026b8d4dd8366bd /doc/lispref/text.texi
parent8aba549263e2660b4ac4f1026b23fbc5caef8168 (diff)
downloademacs-acbc7239021e902470d36d99e6c607080fff8fc5.tar.gz
emacs-acbc7239021e902470d36d99e6c607080fff8fc5.tar.bz2
emacs-acbc7239021e902470d36d99e6c607080fff8fc5.zip
Fix recent documentation updates
* doc/lispref/text.texi (Special Properties): Improve wording. Add cross-reference and index entry. (Sticky Properties): Add indexing.
Diffstat (limited to 'doc/lispref/text.texi')
-rw-r--r--doc/lispref/text.texi11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 32773818e5b..863b318c205 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -3650,13 +3650,14 @@ property is obsolete; use the @code{cursor-intangible} property instead.
@item cursor-intangible
@kindex cursor-intangible @r{(text property)}
@findex cursor-intangible-mode
+@cindex rear-nonsticky, and cursor-intangible property
When the minor mode @code{cursor-intangible-mode} is turned on, point
is moved away from any position that has a non-@code{nil}
@code{cursor-intangible} property, just before redisplay happens.
-Note that @code{rear-nonsticky} is taken into account when computing
-allowed cursor positions, so (for instance) to insert a stretch of
-five @samp{x} characters you can't put point on, you have to do
-something like:
+Note that ``stickiness'' of the property (@pxref{Sticky Properties})
+is taken into account when computing allowed cursor positions, so (for
+instance) to insert a stretch of five @samp{x} characters into which
+the cursor can't enter, you should do something like:
@lisp
(insert
@@ -3960,6 +3961,8 @@ of the kill ring. To insert with inheritance, use the special
primitives described in this section. Self-inserting characters
inherit properties because they work using these primitives.
+@cindex front-sticky text property
+@cindex rear-nonsticky text property
When you do insertion with inheritance, @emph{which} properties are
inherited, and from where, depends on which properties are @dfn{sticky}.
Insertion after a character inherits those of its properties that are