monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Lua hooks


From: jeanpierre
Subject: Re: [Monotone-devel] Lua hooks
Date: Tue, 13 Jun 2006 14:46:22 -0700


yeah, this was definitely something that i ran into as well when i wanted to add file types to the ignore and binary vs text lists. i bugged everyone on irc until i got a response =)

cheers,
jean-pierre

On 6/12/06, Nathaniel Smith <address@hidden> wrote:
On Mon, Jun 12, 2006 at 04:17:09PM -0300, Alex Queiroz wrote:
> do
>     local old_hook = get_preferred_merge2_command
>     function get_preferred_merge2_command(...)
>          -- use old_hook here
>     end
> end
>
> http://www.lua.org/pil/6.1.html

This has come up a few times -- it would probably be good to document
this trick in the manual, when describing the hook system!  Is there
any chance you could write up a little description for there?

-- Nathaniel

--
"But in Middle-earth, the distinct accusative case disappeared from
the speech of the Noldor (such things happen when you are busy
fighting Orcs, Balrogs, and Dragons)."


_______________________________________________
Monotone-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monotone-devel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]