]> git.eshelyaron.com Git - emacs.git/commit
Use string-search instead of string-match[-p] when possible
authorMattias Engdegård <mattiase@acm.org>
Sun, 26 Mar 2023 10:09:41 +0000 (12:09 +0200)
committerMattias Engdegård <mattiase@acm.org>
Sun, 26 Mar 2023 10:09:41 +0000 (12:09 +0200)
commit0724c6dbdaef2c549409836ba4f7999e05aa31fe
tree2508e2bafc19f4b6529112a51da384eb520e14bd
parenta27b0f7f307ccf54fd5910a0655bd72b23e69fcf
Use string-search instead of string-match[-p] when possible

* lisp/progmodes/c-ts-mode.el
(c-ts-mode--standalone-parent-skip-preproc):
* lisp/progmodes/ruby-ts-mode.el (ruby-ts--align-chain):
* lisp/treesit.el (treesit-max-buffer-size)
(treesit--check-manual-coverage):
Use the much faster string-search when just searching for a substring.
lisp/progmodes/c-ts-mode.el
lisp/progmodes/ruby-ts-mode.el
lisp/treesit.el