bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Michael Heerdegen
Subject: bug#18399: 24.4.50; nadvice :filter-args -vs- interactive
Date: Wed, 03 Sep 2014 22:42:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Tom Tromey <tom@tromey.com> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]