|
From: | Ryan |
Subject: | bug#3984: |
Date: | Thu, 19 Sep 2013 21:23:23 -0700 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
I also came up with an idea to address this issue: a second function added to called-interactively-p-functions that checks the current stack frame for equality to the unadvised form of call-interactively and if it finds it, skips past all the advice frames to the outermost call. This will make it so that advising call-interactively does not affect the return of called-interactively-p, but it will not fix the "innermost around advice" problem.
I'm trying to code up a solution now. I'll eventually find my way through the twisty maze of fencepost errors.
-Ryan
[Prev in Thread] | Current Thread | [Next in Thread] |