[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to redefine color theme of nXhtml?
From: |
Lennart Borgman |
Subject: |
Re: How to redefine color theme of nXhtml? |
Date: |
Thu, 15 Oct 2009 12:26:01 +0200 |
On Thu, Oct 15, 2009 at 8:10 AM, Water Lin <WaterLin@ymail.invalid> wrote:
>
> But I found a very strange question.
>
> When I open a PHP or html file first time, Emacs will use nXhtml for this
> file. But then I open another PHP or html files, Emacs will use php-mode
> bu not nXhtml mode for this file.
>
> How strange this is!
>
> Why?
This happens because loading some elisp tells Emacs to use a new major
mode for a file extension. In this case php-mode.el probably tells
Emacs to use php-mode for .php-files.
I have done a workaround for this in nXhtml. Which version are you
using? (BTW, everybody using nXhtml should upgrade to the latest
version, 1.97!)
Are you using the php-mode.el that comes with nXhtml or some other version?