On 2014-02-03, glphvgacs wrote:
> On Mon, Feb 03, 2014 at 11:09:42AM -0500, glphvgacs wrote:
> > alright, i saw the unhook, let me think if and how i can use it here.
> > 
> 
> cann't unhook from within a hook :
>  folder-hook . "unhook *"
> 
> this has no effect, or not the effect i want it to have:
>  unhook *

Sure you can.  At least you can unhook specific hook types and I see
no reason that you couldn't unhook all hooks, although that might
kill the execution of other folder-hooks until they are redefined.
As an example from my muttrc:

    folder-hook . 'unhook message-hook'

Regards,
Gary

Reply via email to