aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorEli Zaretskii2009-11-28 10:46:14 +0000
committerEli Zaretskii2009-11-28 10:46:14 +0000
commitb640eb527cc88dec67100514c58799e014fafbe4 (patch)
tree872a4fdeb2ba6d36293552d6a9ec4f7f24609f1d /doc
parent4bf47195376dd81f596e7e08ad6d00db17906246 (diff)
downloademacs-b640eb527cc88dec67100514c58799e014fafbe4.tar.gz
emacs-b640eb527cc88dec67100514c58799e014fafbe4.zip
(Special Properties): More accurate description of what the `cursor'
property does.
Diffstat (limited to 'doc')
-rw-r--r--doc/lispref/ChangeLog5
-rw-r--r--doc/lispref/text.texi19
2 files changed, 18 insertions, 6 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 9bbb7c72308..79a552e0626 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,8 @@
12009-11-28 Eli Zaretskii <eliz@gnu.org>
2
3 * text.texi (Special Properties): More accurate description of
4 what the `cursor' property does.
5
12009-11-26 Kevin Ryde <user42@zip.com.au> 62009-11-26 Kevin Ryde <user42@zip.com.au>
2 7
3 * commands.texi (Misc Events): vindex mouse-wheel-up-event and 8 * commands.texi (Misc Events): vindex mouse-wheel-up-event and
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index cb9636d199e..91b65017754 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -3166,13 +3166,20 @@ Consecutive characters with the same @code{field} property constitute a
3166@item cursor 3166@item cursor
3167@kindex cursor @r{(text property)} 3167@kindex cursor @r{(text property)}
3168Normally, the cursor is displayed at the end of any overlay and text 3168Normally, the cursor is displayed at the end of any overlay and text
3169property strings present at the current window position. You can 3169property strings present at the current buffer position. You can
3170place the cursor on any desired character of these strings by giving 3170place the cursor on any desired character of these strings by giving
3171that character a non-@code{nil} @code{cursor} text property. If the 3171that character a non-@code{nil} @code{cursor} text property. In
3172value of the @code{cursor} property is an integer number, it specifies 3172addition, if the value of the @code{cursor} property of an overlay
3173the number of buffer's character positions associated with the overlay 3173string is an integer number, it specifies the number of buffer's
3174or text property string; this helps Emacs display the cursor correctly 3174character positions associated with the overlay string; this way,
3175when point moves across these character positions. 3175Emacs will display the cursor on the character with that property
3176regardless of whether the current buffer position is actually covered
3177by the overlay. Specifically, if the value of the @code{cursor}
3178property of a character is the number @var{n}, the cursor will be
3179displayed on this character for any buffer position in the range
3180@code{[@var{ovpos}..@var{ovpos}+@var{n}]}, where @var{ovpos} is the
3181starting buffer position covered by the overlay (@pxref{Managing
3182Overlays}).
3176 3183
3177@item pointer 3184@item pointer
3178@kindex pointer @r{(text property)} 3185@kindex pointer @r{(text property)}