unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* installing php-mode
@ 2007-10-26 13:37 Nikola Skoric
  0 siblings, 0 replies; only message in thread
From: Nikola Skoric @ 2007-10-26 13:37 UTC (permalink / raw)
  To: help-gnu-emacs

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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-10-26 13:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-26 13:37 installing php-mode Nikola Skoric

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).