Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: wrapper functions in modules
- X-seq: zsh-workers 4781
- From: "Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx>
- To: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: wrapper functions in modules
- Date: Mon, 14 Dec 1998 10:42:07 -0800
- In-reply-to: <199812141011.LAA06380@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- References: <199812141011.LAA06380@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
On Dec 14, 11:11am, Sven Wischnowsky wrote:
} Subject: Re: wrapper functions in modules
}
} > } [...] my first idea was to let modules register only one function
} > } which would have to call back the execution code [...]
} >
} > This would indeed be an improvement.
}
} The patch below implements this suggestion with a slight modification
} [...]
Is the new first parameter of doshfunc() needed any longer? runshfunc()
doesn't do anything with it except pass it to wrap->handler(), and at
least in the example module the handler doesn't do anything with it but
pass it back to runshfunc() again. Why are we slinging this around?
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Messages sorted by:
Reverse Date,
Date,
Thread,
Author