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: Harry Putnam
Subject: Re: How to make emacs fontify a php buffer
Date: Thu, 18 Jun 2009 08:59:29 -0500
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.94 (gnu/linux)

"Colin S. Miller" <no-spam-thank-you@csmiller.demon.co.uk> writes:

> Harry,
>
> Harry Putnam wrote:
>>
>> No it didn't work on the file... apparently php-mode library is not
>> loading on startup.. so added this (including your suggestion)
>>
>>
>> (require 'php-mode)
>> (add-to-list 'auto-mode-alist '("\\.php\\'" . php-mode) 't)
>>
> Harry,
>
> If you don't use php-mode often, then it might be better to replace
> the (requires...) with
> (autoload 'php-mode '"php-mode")

[...]

Thanks for the nice tip...looks like a good one.





reply via email to

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