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

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

installing php-mode


From: Nikola Skoric
Subject: installing php-mode
Date: Fri, 26 Oct 2007 13:37:55 +0000 (UTC)
User-agent: slrn/0.9.8.1pl1 (Debian)

I have downloaded php-mode.el and put it into my ~/.emacs.d
directory. I have put this into my .emacs file:
(require 'php-mode)
(setq auto-mode-alist
  (append '(("\\.php$" . php-mode)
            ("\\.php3$" . php-mode))
              auto-mode-alist))
When I open a .php file with PHP code in it, I have HTML highlighted
and PHP code is not highlighted. How do I make emacs to use php-mode?

-- 
"Now the storm has passed over me
I'm left to drift on a dead calm sea
And watch her forever through the cracks in the beams
Nailed across the doorways of the bedrooms of my dreams"


reply via email to

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