]> git.eshelyaron.com Git - emacs.git/commit
When looking for the end of a declarator, prevent macros fouling up the search
authorAlan Mackenzie <acm@muc.de>
Tue, 22 Aug 2017 17:04:34 +0000 (17:04 +0000)
committerAlan Mackenzie <acm@muc.de>
Tue, 22 Aug 2017 17:04:34 +0000 (17:04 +0000)
commit4309d1574ae86244751600171b605b2b2eca4697
tree07add6321803d042dc966cf660d17b483ae86c5a
parentee5a146e331c0bc73c46d608450399e5b90e6321
When looking for the end of a declarator, prevent macros fouling up the search

The practical implication of this bug was a random jit-lock chunk remaining
entirely unfontified.

* lisp/progmodes/cc-mode (c-fl-decl-end): If point starts inside a macro,
restrict two forward searches to the end of that macro.
lisp/progmodes/cc-mode.el