|
From: | Stefan Monnier |
Subject: | bug#19711: 25.0.50; (ad-is-adviced sym) is inconsistent with (advice--p (advice--symbol-function sym)) |
Date: | Wed, 28 Jan 2015 14:55:19 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> `ad-is-advised' expands to: > (get 'foo 'ad-advice-info) > This code will not detect if the function `foo' is being instrumented > with `elp-instrument-package' (which is a form of advice). That's because ad-is-advised tells you "is there a "defadvice" on this function" rather than "is there some kind of advice-like thingy on this function". Since this is used by advice.el internally, changing it might just break advice.el. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |