[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xr 461dce1 03/12: Remove dead function xr--matches-none
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/xr 461dce1 03/12: Remove dead function xr--matches-nonempty-only-p |
Date: |
Mon, 30 Nov 2020 04:32:24 -0500 (EST) |
branch: externals/xr
commit 461dce1434cd19bb95baf1a5f4c7112b6f9f4dd6
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Remove dead function xr--matches-nonempty-only-p
---
xr.el | 23 -----------------------
1 file changed, 23 deletions(-)
diff --git a/xr.el b/xr.el
index aa5e7be..c84895d 100644
--- a/xr.el
+++ b/xr.el
@@ -444,29 +444,6 @@ UPPER may be nil, meaning infinity."
(cl-every #'xr--matches-empty-p body))
("" t)))
-(defun xr--matches-nonempty-only-p (rx)
- "Whether RX matches non-empty strings only."
- (pcase rx
- ((pred stringp) (> (length rx) 0))
- (`(,(or 'seq 'one-or-more '+? 'group) . ,body)
- (cl-some #'xr--matches-nonempty-only-p body))
- (`(or . ,body)
- (cl-every #'xr--matches-nonempty-only-p body))
- (`(group-n ,_ . ,body)
- (cl-some #'xr--matches-nonempty-only-p body))
- (`(repeat ,from ,_ . ,body)
- (and (> from 0)
- (cl-some #'xr--matches-nonempty-only-p body)))
- (`(,(or '= '>=) ,n . ,body)
- (and (> n 0)
- (cl-some #'xr--matches-nonempty-only-p body)))
- (`(,(or 'any 'not 'intersection) . ,_) t)
- ((or 'ascii 'alnum 'alpha 'blank 'cntrl 'digit 'graph
- 'lower 'multibyte 'nonascii 'print 'punct 'space
- 'unibyte 'upper 'word 'xdigit
- 'nonl 'anything)
- t)))
-
(defun xr--adjacent-subsumption (a b)
"Check if A subsumes B, or vice versa, or not, assuming they are adjacent.
Return `a-subsumes-b', `b-subsumes-a' or nil."
- [elpa] externals/xr updated (35dbbeb -> 2a82e8d), Mattias Engdegård, 2020/11/30
- [elpa] externals/xr 1c4934d 01/12: Add github auto-test infrastructure, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr 77ad0d6 04/12: syntax and category always match non-empty, for bos/eos anchor check, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr 32546a7 10/12: Fix character alternative duplication removal, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr a655991 02/12: Use correct text quoting in message about . in file-matching regexp, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr 461dce1 03/12: Remove dead function xr--matches-nonempty-only-p,
Mattias Engdegård <=
- [elpa] externals/xr 6f2e516 09/12: Comment update, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr a444d8c 11/12: Explain why we are not using rx in one place, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr 17d7599 05/12: Improved test coverage with some omitted cases, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr 9b69cc7 06/12: Run automatic tests on Emacs 27.1, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr 2a82e8d 12/12: Increment version to 1.20, Mattias Engdegård, 2020/11/30
- [elpa] externals/xr c7c861f 07/12: Describe diagnostics in README (taken from relint/README), Mattias Engdegård, 2020/11/30
- [elpa] externals/xr ee8ac4a 08/12: Minor looking-at optimisation, Mattias Engdegård, 2020/11/30