[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/prop-search 1b07b01: Document the prop-match struc
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] scratch/prop-search 1b07b01: Document the prop-match structure |
Date: |
Mon, 16 Apr 2018 16:14:41 -0400 (EDT) |
branch: scratch/prop-search
commit 1b07b012f69ab97d879a6ead760e050533df9124
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Document the prop-match structure
---
doc/lispref/text.texi | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/doc/lispref/text.texi b/doc/lispref/text.texi
index 4fb292c..01c197f 100644
--- a/doc/lispref/text.texi
+++ b/doc/lispref/text.texi
@@ -3197,6 +3197,12 @@ text property match, and a @code{prop-match} structure
is returned.
that will be called with two parameters: The first is @var{value}, and
the second is the value of the text property we're inspecting.
+The @code{prop-match} structure has the following accessors:
address@hidden (the start of the match),
address@hidden (the end of the match), and
address@hidden (the value of @var{property} at the start of
+the match).
+
In the examples below, imagine that you're in a buffer that looks like
this:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] scratch/prop-search 1b07b01: Document the prop-match structure,
Lars Ingebrigtsen <=