diff options
Diffstat (limited to 'lisp/progmodes/cc-fonts.el')
-rw-r--r-- | lisp/progmodes/cc-fonts.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 8ee8054876d..a107ef01250 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el @@ -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) |