Chris Beggy on Sat, 24 Nov 2001 07:10:09 +0100


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

Re: [PLUG] Emacs Syntax Highlighting


Naresh Reddy <nyg102@psu.edu> writes:

> I currently use EMACS (21.1) for my C/C++ programming, what do I put in my
> .emacs to get C/C++ syntax highlighting?

C-h i RET m emacs RET m font lock RET

and read...

You'll see something like:

     (add-hook 'c-mode-hook 'turn-on-font-lock)

which is a good start.

Chris

______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug