]> git.eshelyaron.com Git - emacs.git/commit
Speed up CC Mode fontification with less accurate functions extending region
authorAlan Mackenzie <acm@muc.de>
Sun, 3 Jul 2016 13:11:28 +0000 (13:11 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 3 Jul 2016 13:15:44 +0000 (13:15 +0000)
commit4b9ac23960d2998f899287ffcf696ad33b63a69a
tree5b79d1a842f7080c2d26f5d7d40cf7efdc0ec3b8
parentb56a8bcd0e68451d0360ab6ed98c88d890324838
Speed up CC Mode fontification with less accurate functions extending region

* lisp/progmodes/cc-fonts.el (c-font-lock-cut-off-declarators)
(c-font-lock-enclosing-decls)
* lisp/progmodes/cc-mode.el (c-fl-decl-start): Replace invocations of
c-beginning-of-decl-1 with less accurate invocations of
c-syntactic-skip-backwards to speed up fontification.
lisp/progmodes/cc-fonts.el
lisp/progmodes/cc-mode.el