[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: colorfonts in x/emacs



>>>>> "John" == John L <John> writes:
    John>  How can I add colors to new types in c/c++ mode in x/emacs?
    John> 

You should not have to. cc-mode in XEmacs recognizes almost all (I
think) C/C++ keywords.

Make sure that you have:

      (setq font-lock-use-maximum-decoration t)

in your .emacs file.

It is also possible to specify custom C/C++ keywords/types to be
fontified. You'll want to check the comp.emacs.xemacs archives for info
on how to do that.

HTH,

-- 
Salman Ahmed
ssahmed AT pathcom DOT com



Reply to: