[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/xr 6f2e516 09/12: Comment update
From: |
Mattias Engdegård |
Subject: |
[elpa] externals/xr 6f2e516 09/12: Comment update |
Date: |
Mon, 30 Nov 2020 04:32:25 -0500 (EST) |
branch: externals/xr
commit 6f2e5166bd067365a0ba48e902d1bf8e5c4382fb
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Comment update
Emacs 27.1 and later understand `(any)` and `unmatchable` in rx.
---
xr.el | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/xr.el b/xr.el
index 0941309..03ab308 100644
--- a/xr.el
+++ b/xr.el
@@ -246,9 +246,9 @@
(push (string (aref interv 0) ?- (aref interv 1))
ranges)))
- ;; Note that we return (any) for non-negated empty sets,
- ;; such as [z-a]. (any) is not accepted by rx but at least we
- ;; are not hiding potential bugs from the user.
+ ;; We return (any) for non-negated empty sets, such as [z-a].
+ ;; `unmatchable' would perhaps be better; both require Emacs 27.1
+ ;; or newer for use in rx.
(cond
;; Negated empty set, like [^z-a]: anything.
((and negated
- [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, 2020/11/30
- [elpa] externals/xr 6f2e516 09/12: Comment update,
Mattias Engdegård <=
- [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