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

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

Re: html-helper-mode


From: Kevin Rodgers
Subject: Re: html-helper-mode
Date: Mon, 25 Sep 2006 13:02:41 -0600
User-agent: Thunderbird 1.5.0.7 (Windows/20060909)

Hadron Quark wrote:
Thanks for the poster who pointed me here,

http://www.emacswiki.org/cgi-bin/wiki/NxmlMode

where I came across the following for my .emacs,

(fset 'html-mode 'html-helper-mode)

The problem is not html-mode, it's magic-mode-alist, so modify that:

(let ((magic-mode-assoc (rassq 'html-mode magic-mode-alist)))
  (when magic-mode-assoc
    (setcdr magic-mode-assoc 'html-helper-mode)))

--
Kevin





reply via email to

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