- Subject: Re: [Jed-users-l] Turning off auto-wrap
- From: "John E. Davis" <davis@xxxxxxxxxxxxx>
- Date: Mon, 27 Jun 2011 00:46:36 -0400
Doug Kramer <doog@xxxxxxxxxx> wrote:
> Is there a way to modify this so I can turn off wrapmode in .jedrc as a
> default for all files that I subsequently open (without having to call
> toggle_wrapmode after opening the file)?
The simplest thing to do would be to set WRAP_DEFAULT to some large
number in your jedrc file, e.g.,
WRAP_DEFAULT = INT_MAX;
You could also turn off wrap using the global_mode_hook as follows:
define global_mode_hook (mode)
{
variable flags, name;
(name, flags) = what_mode ();
set_mode (name, flags & ~1);
}
I hope this helps.
Thanks,
--John
_______________________________________________
Jed-users-l mailing list
Jed-users-l@xxxxxxxx
http://mailman.jtan.com/mailman/listinfo/jed-users-l
[2011 date index]
[2011 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]