# # # patch "monotone.texi" # from [07d5b5af7b2c2af335d21f0b04c1682d438a019e] # to [15d2c02056078f0291a85fbd817f92f0fd540a3a] # ============================================================ --- monotone.texi 07d5b5af7b2c2af335d21f0b04c1682d438a019e +++ monotone.texi 15d2c02056078f0291a85fbd817f92f0fd540a3a @@ -8061,8 +8061,20 @@ @subsection Event Notifications and Trig that by default, no monitoring occurs. The arguments to the hook function are the arguments to monotone, without the initial @command{mtn} command. They can be accessed through the lua @var{arg} -variable which contains the variable list of arguments. +variable as in this example: address@hidden address@hidden +function note_mtn_startup(...) + print("Beginning note_mtn_startup") + for i = 1,arg.n do + print(arg[i]) + end + print("Ending note_mtn_startup") +end address@hidden group address@hidden smallexample + @end ftable @subsection User Defaults