]> git.eshelyaron.com Git - emacs.git/commit
; Use string-search instead of string-match[-p] in ruby-ts-mode.el
authorMattias EngdegÄrd <mattiase@acm.org>
Sun, 26 Mar 2023 10:09:41 +0000 (12:09 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 26 Mar 2023 23:08:48 +0000 (02:08 +0300)
commitf631c90e791ef94b27c5ea4c9c1d865a498ad476
treedfcd1774696dc22d3afc8c8502a7a92d2579d45b
parent0337131bfa194856234ddfe70ee38b3165d66289
; Use string-search instead of string-match[-p] in ruby-ts-mode.el

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--align-chain):
Use the much faster string-search when just searching for a substring.

(cherry picked from commit 0724c6dbdaef2c549409836ba4f7999e05aa31fe)
lisp/progmodes/ruby-ts-mode.el