aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXue Fuqiao2013-12-22 14:25:57 +0800
committerXue Fuqiao2013-12-22 14:25:57 +0800
commit05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9 (patch)
tree1e92fa9d75d2d4251fd22c3d0f9c9609c968e177
parentb345c561829091aec1ad9cd327ca5a97d1050e80 (diff)
downloademacs-05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9.tar.gz
emacs-05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9.zip
Document `get-pos-property'.
* doc/lispref/text.texi (Examining Properties): Document `get-pos-property'.
-rw-r--r--doc/lispref/ChangeLog2
-rw-r--r--doc/lispref/text.texi7
-rw-r--r--etc/NEWS1
3 files changed, 10 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 14facae6ba5..a92ae299250 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,5 +1,7 @@
12013-12-22 Xue Fuqiao <xfq.free@gmail.com> 12013-12-22 Xue Fuqiao <xfq.free@gmail.com>
2 2
3 * text.texi (Examining Properties): Document `get-pos-property'.
4
3 * variables.texi (Directory Local Variables): Document `enable-dir-local-variables'. 5 * variables.texi (Directory Local Variables): Document `enable-dir-local-variables'.
4 6
5 * debugging.texi (Debugger Commands): Document `debugger-toggle-locals'. 7 * debugging.texi (Debugger Commands): Document `debugger-toggle-locals'.
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
2679text properties are considered, since strings never have overlays. 2679text properties are considered, since strings never have overlays.
2680@end defun 2680@end defun
2681 2681
2682@defun get-pos-property position prop &optional object
2683This function is like @code{get-char-property}, except that it pays
2684attention to properties' stickiness and overlays' advancement settings
2685instead of the property of the character at (i.e. right after)
2686@var{position}.
2687@end defun
2688
2682@defun get-char-property-and-overlay position prop &optional object 2689@defun get-char-property-and-overlay position prop &optional object
2683This is like @code{get-char-property}, but gives extra information 2690This is like @code{get-char-property}, but gives extra information
2684about the overlay that the property value comes from. 2691about the overlay that the property value comes from.
diff --git a/etc/NEWS b/etc/NEWS
index 0b78a93fa94..e3c902e66d8 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -891,6 +891,7 @@ respecting file-local variables.
891Generic commands are interactive functions whose implementation can be 891Generic commands are interactive functions whose implementation can be
892selected among several alternatives, as a matter of user preference. 892selected among several alternatives, as a matter of user preference.
893 893
894+++
894** New function `get-pos-property'. 895** New function `get-pos-property'.
895 896
896** Minibuffer changes 897** Minibuffer changes