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 TABI.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>.