]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix recent documentation updates
authorEli Zaretskii <eliz@gnu.org>
Sun, 14 Nov 2021 16:55:37 +0000 (18:55 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 14 Nov 2021 16:55:37 +0000 (18:55 +0200)
* doc/lispref/text.texi (Special Properties): Improve wording.
Add cross-reference and index entry.
(Sticky Properties): Add indexing.

doc/lispref/text.texi

index 32773818e5b1121b8d5794b1c1b681211355d140..863b318c205f486dc959b178f743c6e9eaf1d66d 100644 (file)
@@ -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