mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
CC Mode: Remove search limit to fontify first decl in xdisp.c
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.
This commit is contained in:
parent
24fe762503
commit
4c7a6dc1a0
1 changed files with 1 additions and 2 deletions
|
|
@ -6579,8 +6579,7 @@ comment at the start of cc-engine.el for more info."
|
|||
;; 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue