summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2018-12-09 08:59:20 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2018-12-09 08:59:20 -0500
commit505ac9a0b1fcf2aa505ad551911c98761b77b6f8 (patch)
tree91f31120490b1840b61d2ce80c99995d77539fd0 /doc
parentd817d2cfb9bdb71fb3ed540d6601be4577272acc (diff)
downloademacs-505ac9a0b1fcf2aa505ad551911c98761b77b6f8.tar.gz
Improve documentation of cursor-sensor.el (bug#33664)
* doc/lispref/text.texi (Special Properties): Mention cursor-sensor-inhibit. * lisp/emacs-lisp/cursor-sensor.el (Commentary): Add cursor-sensor-mode. (cursor-sensor-inhibit): Add docstring.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/text.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 14cc4fba457..78d51c6dbb9 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -3398,6 +3398,9 @@ 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.
+When the variable @code{cursor-sensor-inhibit} is non-@code{nil}, the
+@code{cursor-intangible} property is ignored.
+
@item field
@kindex field @r{(text property)}
Consecutive characters with the same @code{field} property constitute a
@@ -3579,6 +3582,9 @@ depending on whether the cursor is entering the text that has this
property or leaving it. The functions are called only when the minor
mode @code{cursor-sensor-mode} is turned on.
+When the variable @code{cursor-sensor-inhibit} is non-@code{nil}, the
+@code{cursor-sensor-functions} property is ignored.
+
@item composition
@kindex composition @r{(text property)}
This text property is used to display a sequence of characters as a