<<< Date Index >>>     <<< Thread Index >>>

Re: Hooks and Defaults



* Dave Edwards <erratico@xxxxxxxxxxxx> [07-01-04 13:25]:
> I'm wondering how to have defaults followed after certain hooks have
> been called.
> 
> For example, I have a new send hook that goes,
> send-hook list@xxxxxxxxxxxxxxxxx "set record=/dev/null"

Set a default behavour first:

send-hook . 'set record=<your wishes>'
send-hook mail-list 'set record=/dev/null'

note:  a careful reading of TFM about the different hooks is in order
       as one or two expect the default to be the last encountered.

-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711           Photo Album:  http://wahoo.no-ip.org/photos