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

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

bug#41104: closed (28.0.50; nadvice: `find-function-library' infloops fo


From: GNU bug Tracking System
Subject: bug#41104: closed (28.0.50; nadvice: `find-function-library' infloops for adviced autoload fun)
Date: Tue, 07 Jun 2022 14:33:02 +0000

Your message dated Tue, 07 Jun 2022 10:31:56 -0400
with message-id <jwvczfkk0ja.fsf-monnier+emacs@gnu.org>
and subject line Re: bug#41104: 28.0.50; nadvice: `find-function-library' 
infloops for adviced autoload fun
has caused the debbugs.gnu.org bug report #41104,
regarding 28.0.50; nadvice: `find-function-library' infloops for adviced 
autoload fun
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41104: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=41104
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- 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 ---

reply via email to

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