]> git.eshelyaron.com Git - emacs.git/commit
Simplify c-ts-mode--top-level-label-matcher
authorYuan Fu <casouri@gmail.com>
Mon, 27 Feb 2023 02:24:49 +0000 (18:24 -0800)
committerYuan Fu <casouri@gmail.com>
Mon, 27 Feb 2023 05:38:22 +0000 (21:38 -0800)
commitedf5b97686908114f254b5077c71e8202149545f
treec77f8637ffb1e19159be449a6c782f6e5f4007ef
parent0f15286c5396e3415e0f40c21b6f6d7554f46a5e
Simplify c-ts-mode--top-level-label-matcher

* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--top-level-label-matcher): Make more assumptions and remove
the loop, so it's faster in large files.
lisp/progmodes/c-ts-mode.el