From: Eli Zaretskii Date: Fri, 15 Dec 2006 12:12:49 +0000 (+0000) Subject: (c-font-lock-declarations): Fix previous change. X-Git-Tag: emacs-pretest-22.0.92~110 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d71826c43f9b72dc9110bb23ebee822f5f73adcb;p=emacs.git (c-font-lock-declarations): Fix previous change. --- 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.