An unneeded 10,000 character search limit prevents the full
fontification of the first declaration of xdisp.c, since the
introductory commentary is longer than that.
* lisp/progmodes/cc-engine (c-find-decl-spots): Remove the
10,000 char limit.
(cherry picked from commit
4c7a6dc1a0ce8fe7bb603c907efb52d2ecf30858)
;; we're just some syntactic whitespace further down we can
;; still use the cache to limit the skipping.
(c-backward-syntactic-ws
- (max (or c-find-decl-syntactic-pos (point-min))
- (- (point) 10000) (point-min))))
+ (max (or c-find-decl-syntactic-pos (point-min)) (point-min))))
;; If we hit `c-find-decl-syntactic-pos' and
;; `c-find-decl-match-pos' is set then we install the cached