[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bind different extensions other than html to html mode
- To: Joerg Sommer <joerg@xxxxxxxxxxxx>
- Subject: Re: Bind different extensions other than html to html mode
- From: Peter Bengtsson <mail@xxxxxxxxxxx>
- Date: Sun, 25 Jan 2004 23:13:37 +0000
Joerg Sommer wrote:
begin Peter Bengtsson <mail@xxxxxxxxxxx> wrote:
When I'm editing a HTML file (eg. index.html) it goes into html mode.
What if I want the same behavious for ZPT files (eg. index.zpt). How do
I hook that up in my .jedrc?
add_mode_for_extension ("html", "zpt");
Beautiful!
Also, when in html mode and I press M-x text_mode RET it changes to text
mode, but how do I from there select html mode again?
M-x html_mode Return
Here's why it didn't work.
I pressed:
M-x html TAB
I.e. I was expecting tab completion of the mode, but nothing happened.
Writing it in full worked.
Thank you!
Jörg.
end.
--
Peter Bengtsson, http://www.peterbe.com
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.