branch: externals/relint commit 5720e122321715ff36c890b8612094559d4fb783 Author: Mattias Engdegård <matti...@acm.org> Commit: Mattias Engdegård <matti...@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))