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

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

php-html-helper-mode


From: Hadron
Subject: php-html-helper-mode
Date: Wed, 14 Feb 2007 16:42:23 +0100
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Can someone please help?

I have this in my .emacs:

(add-to-list 'auto-mode-alist '("\\.ph$" . php-html-helper-mode))

The problem is that my auto-load-alist looks like this:

(("\\.php$" . php-html-helper-mode)
 ("\\.ht,$" . html-helper-mode)
 ("\\.muse\\'" . muse-mode-choose-mode)
 ("\\.wy$" . wisent-grammar-mode)
 ("\\.by$" . bovine-grammar-mode)
 ("Project\\.ede" . emacs-lisp-mode)
 ("\\.\\(xml\\|xsl\\|rng\\|xhtml\\)\\'" . nxml-mode)
 ("\\.u?deb$" . deb-view-mode)
 ("sources.list$" . apt-sources-mode)
 ("\\.php$" . c-mode)
 ("\\.php3\\'" . php-mode)
 ("\\.php[34]?\\'\\|\\.phtml\\." . php-mode)
 ("\\.php$" . php-html-helper-mode)
 ("\\.asp$" . html-helper-mode)
 ("\\.jsp$" . jsp-html-helper-mode)
*snip*

I guess this is debian autoloads setting this up for me, but how to I
specify php files to open in php-html-helper mode, as they are currently
opening in c-mode.


reply via email to

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