[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Lua hooks
From: |
Nathaniel Smith |
Subject: |
Re: [Monotone-devel] Lua hooks |
Date: |
Mon, 12 Jun 2006 17:01:14 -0700 |
User-agent: |
Mutt/1.5.11+cvs20060403 |
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)."