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

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

[elpa] externals/relint 5720e12 07/16: Scan regexp arguments to function


From: Mattias Engdegård
Subject: [elpa] externals/relint 5720e12 07/16: Scan regexp arguments to functions in s.el
Date: Mon, 30 Nov 2020 05:00:58 -0500 (EST)

branch: externals/relint
commit 5720e122321715ff36c890b8612094559d4fb783
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Scan regexp arguments to functions in s.el
    
    The following functions all take a regexp as first argument:
    
     s-matches?, s-matches-p, s-match-strings-all, s-matched-positions-all,
     s-match, s-slice-at, s-count-matches, s-count-matches-all,
     s-split, s-split-up-to
---
 relint.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/relint.el b/relint.el
index 7f46b46..08f61aa 100644
--- a/relint.el
+++ b/relint.el
@@ -1862,7 +1862,11 @@ directly."
                'search-forward-regexp 'search-backward-regexp
                'kill-matching-buffers
                'keep-lines 'flush-lines 'how-many
-               'delete-matching-lines 'delete-non-matching-lines 
'count-matches)
+               'delete-matching-lines 'delete-non-matching-lines 'count-matches
+               ;; From s.el
+               's-matches? 's-matches-p 's-match-strings-all
+               's-matched-positions-all 's-match 's-slice-at
+               's-count-matches 's-count-matches-all 's-split 's-split-up-to)
           ,re-arg . ,_)
         (unless (and (symbolp re-arg)
                      (memq re-arg relint--checked-variables))



reply via email to

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