diff options
author | Alan Mackenzie <acm@muc.de> | 2015-03-30 16:37:04 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2015-03-30 16:37:04 +0000 |
commit | 05a5a94000b82c81dc86cb7e2f3b4010bb2a4f0b (patch) | |
tree | dcb09fa7a5196aa42e50e0b940f9e3af0009bb21 /lisp/emacs-lisp | |
parent | d9eff02736c975dc5035e02249ff17c8a068d203 (diff) | |
download | emacs-05a5a94000b82c81dc86cb7e2f3b4010bb2a4f0b.tar.gz emacs-05a5a94000b82c81dc86cb7e2f3b4010bb2a4f0b.tar.bz2 emacs-05a5a94000b82c81dc86cb7e2f3b4010bb2a4f0b.zip |
Correct calculation of CC Mode's font-lock region.
* cc-mode.el (c-fl-decl-start): Renamed from c-set-fl-decl-start.
* Change
signature such that nil is returned when no declaration is found.
(c-change-expand-fl-region): Renamed from c-change-set-fl-decl-start.
This now also handles expanding the font lock region to whole lines.
(c-context-expand-fl-region): Renamed from c-context-set-fl-decl-start.
This now also handles expanding the font lock region to whole lines.
(c-font-lock-fontify-region): When a change font lock region is
spuriously enlarged to the beginning-of-line by jit-lock, fontify the
extra bit separately from the region calculated by CC Mode.
(c-extend-after-change-region): Explicitly apply 'fontified properties
to
the extended bits of the font lock region.
* cc-langs.el (c-before-font-lock-functions)
(c-before-context-fontification-functions): Use new names for existing
functions (see above).
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions