GNU bug report logs -
#20718
25.0.50; find-function fails on advised subrs (again)
Previous Next
Reported by: michael_heerdegen <at> web.de
Date: Tue, 2 Jun 2015 12:50:03 UTC
Severity: normal
Found in version 25.0.50
Fixed in version 25.1
Done: Dmitry Gutov <dgutov <at> yandex.ru>
Bug is archived. No further changes may be made.
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
just as a random example:
(advice-add 'handle-switch-frame :after #'prin1)
and M-x find-function 'handle-switch-frame RET
==> find-function-search-for-symbol: Don't know where
`handle-switch-frame' is defined
Works without advicing. I included the word "again" in the subject
because this had been fixed once in #789 in 2008.
It doesn't work because `find-function-library' performs the subrp test
just on the symbol function of the given function name, which is the
advice, not the original subr.
Thanks,
Michael.
In GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5)
of 2015-05-30 on drachen
Windowing system distributor `The X.Org Foundation', version 11.0.11701000
System Description: Debian GNU/Linux testing (stretch)
This bug report was last modified 10 years and 46 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.