- Subject: Re: No line wrap for special html mode
- From: "G. Milde" <g.milde@xxxxxx>
- Date: Fri, 4 Jun 2004 13:27:07 +0200
On 4.06.04, Peter Bengtsson wrote:
> I have this in my .jedrc:
> add_mode_for_extension ("html", "zpt");
>
> But when I edit .zpt files I don't want word wrapping. I don't mind if
> the lines get stupidly long.
> Ideally I'd like to edit .zpt files with that only exception but if I
> have to live with it for .html files too that's ok.
You could try:
define zpt_mode()
{
html_mode();
set_mode("zpt", 4);
}
add_mode_for_extension ("zpt", "zpt");
(Untested. See Help>Describe_Function set_mode for details)
Günter
--
G.Milde at web.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2004 date index]
[2004 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]