Fix wrong bound to c-font-lock-declarators. Fixes bug #18948.
commitceb7a7dfb8a2c2b17ac876e693d462ec65dcd97a
authorAlan Mackenzie <acm@muc.de>
Wed, 5 Nov 2014 17:57:50 +0000 (5 17:57 +0000)
committerAlan Mackenzie <acm@muc.de>
Wed, 5 Nov 2014 17:57:50 +0000 (5 17:57 +0000)
tree53ee22be83c7414e44ce046e9872d51be408cfc3
parentbd02f3d40e764945066e90921481bfccfb4407fa
Fix wrong bound to c-font-lock-declarators.  Fixes bug #18948.
progmodes/cc-fonts.el (c-font-lock-declarations): Pass "(point-max)" as
bound to c-font-lock-declarators, not "limit", as the buffer is sometimes
narrowed to less than "limit" (e.g., in the presence of macros).
lisp/ChangeLog
lisp/progmodes/cc-fonts.el