[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] problems compiling html-helper-mode
From: |
Chris Lott |
Subject: |
Re: [h-e-w] problems compiling html-helper-mode |
Date: |
Sat, 29 Jun 2002 07:56:36 -0800 (AKDT) |
On Sat, 29 Jun 2002, Max Mazza wrote:
> I've added those lines to my .emacs file to invoke html-helper-mode:
>
> (setq auto-mode-alist
> (cons '("\\.html$" . html-helper-mode) auto-mode-alist))
> (setq auto-mode-alist
> (cons '("\\.htm$" . html-helper-mode) auto-mode-alist))
>
> I'ts correct, or I've missed something?
Here is what I have... I believe you are missing the first, and most
important, line? When you load an HTML file does it how HTML helper
instead of just HTML in the mode line? I assume you have font lock on
globally?
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
(setq auto-mode-alist (cons '("\\.htm$" . html-helper-mode)
auto-mode-alist))
(setq auto-mode-alist (cons '("\\.html$" . html-helper-mode)
auto-mode-alist))
(setq auto-mode-alist (cons '("\\.php$" . html-helper-mode)
auto-mode-alist))
(setq auto-mode-alist (cons '("\\.php3$" . html-helper-mode)
auto-mode-alist))
(setq auto-mode-alist (cons '("\\.phtml$" . html-helper-mode)
auto-mode-alist))