branch: externals/relint commit 3f8509a41078c346e50b7b57339436568c0b41e6 Author: Mattias Engdegård <matti...@acm.org> Commit: Mattias Engdegård <matti...@acm.org>
Add more functions to check for regexp arguments --- trawl.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trawl.el b/trawl.el index 6f51bf0..e2d5501 100644 --- a/trawl.el +++ b/trawl.el @@ -471,13 +471,15 @@ `posix-looking-at `posix-search-backward `posix-search-forward `posix-string-match `load-history-filename-element - `kill-matching-buffers) + `kill-matching-buffers + `keep-lines `flush-lines `how-many) ,re-arg . ,_) (unless (and (symbolp re-arg) (memq re-arg trawl--checked-variables)) (trawl--check-re re-arg (format "call to %s" (car form)) file pos (cons 1 path)))) (`(,(or `split-string `split-string-and-unquote + `string-trim-left `string-trim-right `directory-files-recursively) ,_ ,re-arg . ,_) (unless (and (symbolp re-arg)