|
From: | Stefan Monnier |
Subject: | Re: cc-mode: Make all parameters introduced in Emacs 26 optional |
Date: | Mon, 12 Mar 2018 21:00:33 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> (condition-case nil >> (call1 ...) >> (wrong-number-of-arguments >> (call2 ...))) > > Out of (mostly theoretical) curiosity: is there a way to restrict that > condition-case to that specific function call? (rather than catching all > incorrect calls in that call tree) No. Actually just defining the notion of "that specific function call" is already pretty tricky if you consider the case where `call1` is advised, for example. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |