[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/compat 71f9648cdf 03/16: Specify features
From: |
ELPA Syncer |
Subject: |
[elpa] externals/compat 71f9648cdf 03/16: Specify features |
Date: |
Wed, 4 Jan 2023 07:57:26 -0500 (EST) |
branch: externals/compat
commit 71f9648cdf53384ca4b3c0ddab10d1cc3714ac6c
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
Specify features
---
compat-27.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/compat-27.el b/compat-27.el
index 8e1f4b1a9b..cff3c820a3 100644
--- a/compat-27.el
+++ b/compat-27.el
@@ -750,6 +750,7 @@ The return value is a string (or nil in case we can’t find
it)."
"Constructor for objects of type ‘prop-match’."
:realname compat--make-prop-match-with-vector
:max-version "26.1"
+ :feature text-property-search
(vector
'prop-match
(plist-get attr :beginning)
@@ -760,6 +761,7 @@ The return value is a string (or nil in case we can’t find
it)."
"Constructor for objects of type ‘prop-match’."
:realname compat--make-prop-match-with-record
:min-version "26.1"
+ :feature text-property-search
(record
'prop-match
(plist-get attr :beginning)
@@ -769,23 +771,28 @@ The return value is a string (or nil in case we can’t
find it)."
(compat-defun prop-match-p (match)
"Return non-nil if MATCH is a `prop-match' object."
:max-version "26.1"
+ :feature text-property-search
(and (vectorp match) (eq (aref match 0) 'prop-match))) ;; Vector
(compat-defun prop-match-p (match)
"Return non-nil if MATCH is a `prop-match' object."
:min-version "26.1"
+ :feature text-property-search
(eq (type-of match) 'prop-match)) ;; Record
(compat-defun prop-match-beginning (match)
"Retrieve the position where MATCH begins."
+ :feature text-property-search
(aref match 1))
(compat-defun prop-match-end (match)
"Retrieve the position where MATCH ends."
+ :feature text-property-search
(aref match 2))
(compat-defun prop-match-value (match)
"Retrieve the value that MATCH holds."
+ :feature text-property-search
(aref match 3))
(compat-defun text-property-search-forward
@@ -824,6 +831,7 @@ If found, move point to the end of the region and return a
of the match, use `prop-match-beginning' and `prop-match-end' for
the buffer positions that limit the region, and
`prop-match-value' for the value of PROPERTY in the region."
+ :feature text-property-search
(let* ((match-p
(lambda (prop-value)
(funcall
@@ -898,6 +906,7 @@ the buffer positions that limit the region, and
Like `text-property-search-forward', which see, but searches backward,
and if a matching region is found, place point at the start of the region."
+ :feature text-property-search
(let* ((match-p
(lambda (prop-value)
(funcall
- [elpa] externals/compat updated (3ee973db10 -> 0bb4709d83), ELPA Syncer, 2023/01/04
- [elpa] externals/compat 601387077a 04/16: Always require subr-x at compile time, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 9ecaf46e15 09/16: Restore explicit versions of string-trim, ELPA Syncer, 2023/01/04
- [elpa] externals/compat dab2ec091d 01/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat de7346396a 05/16: Add compat-feature macro, ELPA Syncer, 2023/01/04
- [elpa] externals/compat d18955c1be 07/16: Remove comments, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 8ebf7984ce 06/16: Revert "Add compat-feature macro", ELPA Syncer, 2023/01/04
- [elpa] externals/compat 7737bb9d56 08/16: Run all checks at compile time, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 31810cd4d9 10/16: Add :feature, ELPA Syncer, 2023/01/04
- [elpa] externals/compat e8de246d40 14/16: Update manual, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 71f9648cdf 03/16: Specify features,
ELPA Syncer <=
- [elpa] externals/compat 7aa705b65e 02/16: Require features at compile time, ELPA Syncer, 2023/01/04
- [elpa] externals/compat ce86316661 11/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat f342b01a10 12/16: Update manual, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 77e3e92ebf 13/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 7569405bc8 15/16: Restore tests, ELPA Syncer, 2023/01/04
- [elpa] externals/compat 0bb4709d83 16/16: Expand commentary, ELPA Syncer, 2023/01/04