mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 11:00:45 -08:00
progmodes/cc-fonts.el (c-font-lock-declarators): Remove check for
top-level that can cause unacceptable slow-down in scrolling.
See email Subject: Huge {...} blocks in C/C++ again, from Dmitry Antipov
from 2013-10-14 in emacs-devel.
This commit is contained in:
parent
1e0b702b8f
commit
aac6be1331
2 changed files with 8 additions and 5 deletions
|
|
@ -1,3 +1,10 @@
|
|||
2014-08-09 Alan Mackenzie <acm@muc.de>
|
||||
|
||||
* progmodes/cc-fonts.el (c-font-lock-declarators): Remove check
|
||||
for top-level that can cause unacceptable slow-down in scrolling.
|
||||
See email Subject: Huge {...} blocks in C/C++ again, from Dmitry
|
||||
Antipov from 2013-10-14 in emacs-devel.
|
||||
|
||||
2014-08-08 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
|
||||
|
||||
* ibuffer.el (ibuffer-mode-map): Use toggle button for
|
||||
|
|
|
|||
|
|
@ -1128,11 +1128,7 @@ casts and declarations are fontified. Used on level 2 and higher."
|
|||
|
||||
(setq next-pos (match-beginning 0)
|
||||
id-face (if (and (eq (char-after next-pos) ?\()
|
||||
(not brackets-after-id)
|
||||
(let (c-last-identifier-range)
|
||||
(save-excursion
|
||||
(goto-char next-pos)
|
||||
(c-at-toplevel-p))))
|
||||
(not brackets-after-id))
|
||||
'font-lock-function-name-face
|
||||
'font-lock-variable-name-face)
|
||||
got-init (and (match-beginning 1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue