--- Begin Message ---
Subject: |
28.0.50; nadvice: `find-function-library' infloops for adviced autoload fun |
Date: |
Wed, 06 May 2020 05:05:07 +0200 |
Hello,
in *scratch* eval this:
#+begin_src emacs-lisp
(require 'find-func)
;; we don't require 'dired so it is an autoload fun. Then:
(advice-add 'dired
:override
(defun my-dired (&rest args) t))
;; And
(find-function-library 'dired)
;; infloops.
#+end_src
The problem seems be that `find-function-advised-original' unexpectedly
returns the original symbol because `advice--cd*r' returns nil in this
case.
TIA,
Michael.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#41104: 28.0.50; nadvice: `find-function-library' infloops for adviced autoload fun |
Date: |
Tue, 07 Jun 2022 10:31:56 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> The problem seems be that `find-function-advised-original' unexpectedly
> returns the original symbol because `advice--cd*r' returns nil in this
> case.
I believe the problem is now fixed in `master`.
Stefan
--- End Message ---