]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Remedy recent loss in performance
authorAlan Mackenzie <acm@muc.de>
Sun, 16 Jun 2019 15:46:12 +0000 (15:46 +0000)
committerAlan Mackenzie <acm@muc.de>
Sun, 16 Jun 2019 15:46:12 +0000 (15:46 +0000)
commite6fb9a443f48d7bcf1f56ce2ea526c3fa5b732b0
treec310cacba31f57fad289bb0151b2dcc8048da759
parent98ba1c6b52898c5f72f2d6e5c845c8d9386f98f5
CC Mode: Remedy recent loss in performance

* lisp/progmodes/cc-engine.el (c-back-over-member-initializers): call
c-parse-state outside of the narrowing operation.

* lisp/progmodes/cc-fonts.el (c-get-fontification-context)
(c-font-lock-cut-off-declarators): Replace calls to c-determine-limit with
crude position calculations for speed.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-fonts.el