Subject: bug#18399: 24.4.50; nadvice :filter-args -vs- interactive

From: Michael Heerdegen <[email-masked]>
Date: Wed, 03 Sep 2014 22:42:04 +0200

Tom Tromey <[email-masked]> writes:

> So I think there must be a bug with how nadvice handles interactive
> specs, either generally or with :filter-args.

According to the doc (of `add-function'), an filter-args advice function
has to accept exactly one argument (which is bound to the list of given
arguments).  So I think what you see is expected.

I have stumbled over that behavior several times myself.

Michael.