[2565] in RedHat Linux List
Re: Colourized c/c++ editing
daemon@ATHENA.MIT.EDU (=?ISO-8859-1?Q?Trond_Eivind_Glomsr)
Mon Nov 4 10:05:20 1996
Date: Mon, 4 Nov 1996 16:02:57 +0100 (MET)
From: =?ISO-8859-1?Q?Trond_Eivind_Glomsr=F8d?= <teg@stud.imf.unit.no>
To: "Hal L. DeVore Jr." <hdevore@crow.bmc.com>
cc: redhat-list@redhat.com
In-Reply-To: <199611041457.IAA00409@erehwon.bmc.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Mon, 4 Nov 1996, Hal L. DeVore Jr. wrote:
>
> teg@stud.imf.unit.no said:
> > > Can anyone give me any pointers to emacs files neccessary to colour
> > C/C++ files while editing them?
>
> > M-x font-lock-mode
>
> Add the following to your $HOME/.emacs file:
>
> (global-font-lock-mode t)
I've done so long time ago. But the original poster had Picasso with emacs
19.30, and global-font-lock-mode is newer than that. You can of course do
something like (add-hook c++-mode 'font-lock-mode) instead.
--
Trond Eivind Glomsrød
teg@stud.imf.unit.no :::: http://www.pvv.ntnu.no/~teg/
**linux: because a PC is a terrible thing to waste**
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null