emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/xr 77ad0d6 04/12: syntax and category always match non-


From: Mattias Engdegård
Subject: [elpa] externals/xr 77ad0d6 04/12: syntax and category always match non-empty, for bos/eos anchor check
Date: Mon, 30 Nov 2020 04:32:24 -0500 (EST)

branch: externals/xr
commit 77ad0d63dedd19f20426921ae1013bf99feed6b8
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    syntax and category always match non-empty, for bos/eos anchor check
---
 xr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xr.el b/xr.el
index c84895d..0f899fe 100644
--- a/xr.el
+++ b/xr.el
@@ -884,7 +884,7 @@ nil if RX only matches the empty string."
      (if (= n 0)
          (and (cl-some #'xr--matches-nonempty body) 'sometimes)
        (xr--tristate-some #'xr--matches-nonempty body)))
-    (`(,(or 'any 'not 'intersection) . ,_) 'always)
+    (`(,(or 'any 'not 'intersection 'syntax 'category) . ,_) 'always)
     ((or 'ascii 'alnum 'alpha 'blank 'cntrl 'digit 'graph
          'lower 'multibyte 'nonascii 'print 'punct 'space
          'unibyte 'upper 'word 'xdigit



reply via email to

[Prev in Thread] Current Thread [Next in Thread]