Geoffrey Furnish writes:
Geoffrey> (setq c++-font-lock-keywords c++-font-lock-keywords-gmf)
Geoffrey> (add-hook 'c++-mode-hook '(lambda () (setq font-lock-keywords
Geoffrey> c++-font-lock-keywords-gmf)))
In general, when the first solution fails, it's often because of a
fontification level magic that goes under you feet. Remeber that you have
several levels of fontification controled by `font-lock-maximum-decoration'.
In other words, it's safer to modify c++-font-lock-keywords-[1|2|...] and let
the code decide which one it will use (which in turn sets
c++-font-lock-keywords on the fly).
'makes me remember: currently, some keywords are defvar'ed in
font-lock.el, some others are in their respective packages. This should be
fixed (I mean decided once for all) one day.
--
/ / _ _ Didier Verna
http://www.inf.enst.fr/~verna/
- / / - / / /_/ / E.N.S.T. INF C201.1 mailto:vernaļ¼ inf.enst.fr
/_/ / /_/ / /__ / 46 rue Barrault Tel. (33) 01 45 81 73 46
75634 Paris cedex 13 Fax. (33) 01 45 81 31 19