]> git.eshelyaron.com Git - emacs.git/commit
ruby-mode: Optimize expression expansion too
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 31 Dec 2020 18:59:00 +0000 (20:59 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 31 Dec 2020 18:59:00 +0000 (20:59 +0200)
commit761d3f3cdcfd86248608254a3391405ddbb299e3
tree64d0dcacbf431acd639e698341ab156c7125119a
parent0e41e89d7e9787c5ca3446af01b3c3afa433bb9b
ruby-mode: Optimize expression expansion too

This speeds up syntax-propertize almost 2x.

* lisp/progmodes/ruby-mode.el (ruby-syntax-propertize):
Optimize expression expansion too.
(ruby-syntax-propertize-expansion, ruby-font-lock-keywords)
(ruby-expression-expansion-re): Update to match.
lisp/progmodes/ruby-mode.el