|
From: | Tom Tromey |
Subject: | bug#18399: 24.4.50; nadvice :filter-args -vs- interactive |
Date: | Wed, 03 Sep 2014 16:27:39 -0600 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Michael> According to the doc (of `add-function'), an filter-args advice Michael> function has to accept exactly one argument (which is bound to Michael> the list of given arguments). So I think what you see is Michael> expected. Michael> I have stumbled over that behavior several times myself. I looked at the docs again and I agree. Sorry about the noise. Perhaps a note and/or a small example here would be nice for future users. If we were both fooled by this then perhaps others will be as well. Tom
[Prev in Thread] | Current Thread | [Next in Thread] |