unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15523: 24.3.50; Package installed in an earlier (stable) version of Emacs errors if -autoloads.el calls an autoloaded function
@ 2013-10-04  2:01 Dmitry Gutov
  0 siblings, 0 replies; only message in thread
From: Dmitry Gutov @ 2013-10-04  2:01 UTC (permalink / raw)
  To: 15523

...from that package.

Example:
https://github.com/nonsequitur/inf-ruby/pull/24#issuecomment-25595099

Or at least that's what I've been able to deduce.

Revision 112403 added load-path modification inside the autoloads file
(not sure why), and 114047 changed `package-activate-1' not to modify
load-path until after the autoloads file is loaded.

So, if a package was installed using Emacs predating 112403 (such as
24.2 and probably 24.3), and its autoloads call a function from it, it
will raise an error.

Not sure how big of a problem that is (autoloads' main purpose is to
defer loading, not to trigger it), but it's surprising for sure.





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-04  2:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04  2:01 bug#15523: 24.3.50; Package installed in an earlier (stable) version of Emacs errors if -autoloads.el calls an autoloaded function Dmitry Gutov

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).