Re: modifying has no effect from init()

From: Oisín Mac Fhearaí <>
Date: Fri, 6 Aug 2010 09:58:35 -0700 (PDT)

On Aug 6, 5:49 pm, mitchell <> wrote:
> The 'lua' module sets the appropriate run command when a Lua file is
> loaded (which is after init()). You can get around this by copying the
> module to your ~/.textadept/modules directory and modifying the file from
> there.

Thanks Robert and Mitchell,

I copied the lua module directory as you suggested, and only needed to
comment out a single line (line 11 of commands.lua:
"m_run.run_command.lua = 'lua %(filename)'") to work around the
problem, letting the definitions in init.lua take hold.

Nice one,
Received on Fri 06 Aug 2010 - 12:58:35 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:50:32 EST