]> git.eshelyaron.com Git - emacs.git/commit
CC Mode: Fontify function names after long stretches of macros.
authorAlan Mackenzie <acm@muc.de>
Fri, 12 May 2023 10:33:15 +0000 (10:33 +0000)
committerAlan Mackenzie <acm@muc.de>
Fri, 12 May 2023 10:33:15 +0000 (10:33 +0000)
commitc9cf673d505b2dd9a666fed50d7f3b2f7dff163f
tree9f79ccace85edcb41315bffadf66bc79e6f16f19
parent6234c3e0411a1d70bed2c85bbfb438d4479be51b
CC Mode: Fontify function names after long stretches of macros.

This fixes bug#63322.

* lisp/progmodes/cc-engine.el (c-find-decl-spots): When a
search back over syntactic whitespace hits its limit, set
cfd-match-pos and cfd-continue-pos to cfd-start-pos.

* lisp/progmodes/cc-mode.el (c-fl-decl-start): Remove an
unneeded (and harmful) condition on (point)'s position in the
main loop.
lisp/progmodes/cc-engine.el
lisp/progmodes/cc-mode.el