Fix miscellaneous glitches in cc-mode.el. Fixes debbugs#20245.
commit4d748735d5c49f73e1d49123f7188c9a2fd7d252
authorAlan Mackenzie <acm@muc.de>
Mon, 6 Apr 2015 22:20:16 +0000 (6 22:20 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 6 Apr 2015 22:23:30 +0000 (6 22:23 +0000)
treee702fdd43d721a6481f77596bf76f833cacfc46e
parentb31d359d182eb252a11f0468a7dc1ee1eafb28e9
Fix miscellaneous glitches in cc-mode.el.  Fixes debbugs#20245.

* progmodes/cc-mode.el (c-common-init): bind
\(before\|after\)-change-functions to nil around invocations of
c-get-state-before-change-functions and
c-before-font-lock-functions to prevent recursive invocations.
(c-neutralize-syntax-in-and-mark-CPP): On c-beginning-of-macro,
check that point has actually moved back.
(c-fl-decl-start): Check whether c-beginning-of-decl-1 has
actually found a boundary (as contrasted with hitting a search
limit).
lisp/ChangeLog
lisp/progmodes/cc-mode.el