help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to make emacs fontify a php buffer


From: Pascal J. Bourguignon
Subject: Re: How to make emacs fontify a php buffer
Date: Wed, 17 Jun 2009 18:19:15 +0200
User-agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.2 (gnu/linux)

Harry Putnam <reader@newsguy.com> writes:

> I want emacs to fontify a certain file... I think it is *.php but not
> really sure.
>
> Just adding .php to it does not seem to cause emacs to fontify that file.  Of
> coure I have syntax hilighting turned on.
>
> I've posted the file here:
>
>    www.jtan.com/~reader/script.txt
>
> Anyone recognize what kind of code it is?
> Can anyone tell how to make emacs fontify that file?

Add:

    <!-- -*- mode:php -*- --> 

on the first line.


-- 
__Pascal Bourguignon__


reply via email to

[Prev in Thread] Current Thread [Next in Thread]