[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New obsolete.el file for obsolete stuff?
From: |
Stefan Kangas |
Subject: |
Re: New obsolete.el file for obsolete stuff? |
Date: |
Tue, 18 Aug 2020 12:44:12 +0000 |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I don't think that would work... We add the aliases and stuff so that
> people's code will continue to work. If somebody has out-of-tree code
> that says
>
> (require 'foo)
> (foo-name)
>
> that continues to work even if we've obsoleted foo-name. Moving it to a
> separate file would defeat the purpose of that...
It would need to be dumped/pre-loaded (not sure what's the prefered
terminology here). That's what they did in XEmacs.
(One could also use `eval-after-load' where it makes sense to do so.)
Best regards,
Stefan Kangas