From d71826c43f9b72dc9110bb23ebee822f5f73adcb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 15 Dec 2006 12:12:49 +0000 Subject: [PATCH] (c-font-lock-declarations): Fix previous change. --- lisp/ChangeLog | 5 +++++ lisp/progmodes/cc-fonts.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index f2a7d3629d1..9bfba1b26f5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2006-12-15 Simon Marshall + + * progmodes/cc-fonts.el (c-font-lock-declarations): Fix previous + change. + 2006-12-15 YAMAMOTO Mitsuharu * term/mac-win.el (mac-atsu-font-table): Remove defvar. diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 8473eee90a2..ab31fa877f7 100644 --- a/lisp/progmodes/cc-fonts.el +++ b/lisp/progmodes/cc-fonts.el @@ -1179,7 +1179,7 @@ casts and declarations are fontified. Used on level 2 and higher." ;; The below code attempts to fontify the case constants in ;; c-label-face-name, but it cannot catch every case [sic]. ;; And do we want to fontify case constants anyway? - nil + (c-forward-label t match-pos nil) ;;; (when (c-forward-label t match-pos nil) ;;; ;; Can't use `c-fontify-types-and-refs' here since we ;;; ;; should use the label face. -- 2.39.5