summaryrefslogtreecommitdiff
path: root/doc/lispref/text.texi
diff options
context:
space:
mode:
authorXue Fuqiao <xfq.free@gmail.com>2013-12-22 14:25:57 +0800
committerXue Fuqiao <xfq.free@gmail.com>2013-12-22 14:25:57 +0800
commit05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9 (patch)
tree1e92fa9d75d2d4251fd22c3d0f9c9609c968e177 /doc/lispref/text.texi
parentb345c561829091aec1ad9cd327ca5a97d1050e80 (diff)
downloademacs-05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9.tar.gz
emacs-05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9.tar.bz2
emacs-05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9.zip
Document `get-pos-property'.
* doc/lispref/text.texi (Examining Properties): Document `get-pos-property'.
Diffstat (limited to 'doc/lispref/text.texi')
-rw-r--r--doc/lispref/text.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 1deb4a6530a..0ddff24aa15 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -2679,6 +2679,13 @@ followed by the text properties. If @var{object} is a string, only
text properties are considered, since strings never have overlays.
@end defun
+@defun get-pos-property position prop &optional object
+This function is like @code{get-char-property}, except that it pays
+attention to properties' stickiness and overlays' advancement settings
+instead of the property of the character at (i.e. right after)
+@var{position}.
+@end defun
+
@defun get-char-property-and-overlay position prop &optional object
This is like @code{get-char-property}, but gives extra information
about the overlay that the property value comes from.