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

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

bug#53632: Function definition history


From: Michael Albinus
Subject: bug#53632: Function definition history
Date: Thu, 03 Feb 2022 09:11:31 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

Hi,

> Since 1d1b664fb, tramp-test47-unload fails.
> Ref eg https://hydra.nixos.org/build/166143250
>   `tramp-unload-file-name-handlers' still bound

This is due to a changed behavior of `unload-feature'. Prior this patch,
there is

--8<---------------cut here---------------start------------->8---
# emacs -Q -l tramp
(unload-feature 'tramp 'force)
(mapatoms
 (lambda (x)
   (and (functionp x)
        (string-match-p "^tramp" (symbol-name x))
        (message "%s" x))))
=>
tramp-register-archive-file-name-handler
tramp-archive-autoload-file-name-handler
--8<---------------cut here---------------end--------------->8---

This is OK, because tramp-archive.el is not unloaded via unloading
tramp.el.

Now, this behavior has changed. With the same recipe, we get

--8<---------------cut here---------------start------------->8---
=>
tramp-unload-file-name-handlers
tramp-unload-tramp
tramp-register-archive-file-name-handler
tramp-archive-autoload-file-name-handler
tramp-register-autoload-file-name-handlers
tramp-autoload-file-name-handler
--8<---------------cut here---------------end--------------->8---

Best regards, Michael.





reply via email to

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