diff options
| author | Xue Fuqiao | 2013-12-22 14:25:57 +0800 |
|---|---|---|
| committer | Xue Fuqiao | 2013-12-22 14:25:57 +0800 |
| commit | 05e8f1ae2e6c55b59da6dd508d3e48cc7807dfc9 (patch) | |
| tree | 1e92fa9d75d2d4251fd22c3d0f9c9609c968e177 | |
| parent | b345c561829091aec1ad9cd327ca5a97d1050e80 (diff) | |
| download | emacs-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/ChangeLog | 2 | ||||
| -rw-r--r-- | doc/lispref/text.texi | 7 | ||||
| -rw-r--r-- | etc/NEWS | 1 |
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 @@ | |||
| 1 | 2013-12-22 Xue Fuqiao <xfq.free@gmail.com> | 1 | 2013-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 | |||
| 2679 | text properties are considered, since strings never have overlays. | 2679 | text 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 | ||
| 2683 | This function is like @code{get-char-property}, except that it pays | ||
| 2684 | attention to properties' stickiness and overlays' advancement settings | ||
| 2685 | instead 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 |
| 2683 | This is like @code{get-char-property}, but gives extra information | 2690 | This is like @code{get-char-property}, but gives extra information |
| 2684 | about the overlay that the property value comes from. | 2691 | about the overlay that the property value comes from. |
| @@ -891,6 +891,7 @@ respecting file-local variables. | |||
| 891 | Generic commands are interactive functions whose implementation can be | 891 | Generic commands are interactive functions whose implementation can be |
| 892 | selected among several alternatives, as a matter of user preference. | 892 | selected 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 |