GNU bug report logs -
#12997
Add some way to mark autoloads as obsolete
Previous Next
Reported by: Glenn Morris <rgm <at> gnu.org>
Date: Mon, 26 Nov 2012 01:48:02 UTC
Severity: wishlist
Tags: moreinfo
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Glenn Morris <rgm <at> gnu.org> writes:
> It would be handy if there was a way to mark autoloads obsolete.
> Then if the relevant function/variable is accessed without the
> associated package being already loaded, a warning would be produced.
> (Either from the byte-compiler or via display-warning at the end of
> loading ~/.emacs.)
I may well be misunderstanding what you mean here, but if you
;;;###autoload
(defun foo ()
(declare (obsolete nil "25.1"))
then that obsoletion form also makes it into the loaddefs file, so this
seems like it should already work?
Or is this something that's been fixed in the decade since the bug
report was opened?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 2 years and 343 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.