|
From: Michael H. <mw...@py...> - 2004-01-16 16:56:25
|
On Friday, Jan 16, 2004, at 13:32 Europe/London, Michael Hudson wrote: > The condition-case in erc-process-input-line caused me considerable > confusion this morning: my erc-cmd- function was being called with the > right number of arguments but had a bug whereby it called another > function with the wrong number of arguments. This patch allows it to > crash (or enter the debugger) normally but preserves the nice error > message on > > /mycmd wrong number of arguments > > by parsing erc-cmd-MYCMD's arglist. > > I think this might break erc on older Emacsen that lack > help-function-arglist -- can erc-get-arglist be extended to > byte-compiled functions easily and portably? Let's try a version with more hope of working... Cheers, mwh |