Subject: bug#23607: Please apply this patched function to package.el in Emacs 25.

From: Stefan Monnier <[email-masked]>
Date: Wed, 20 Jul 2016 22:05:09 -0400

> Replacing this function in package.el allows for correct generation of the
> <package>-autoloads.el file for packages that have .el files in multiple
> subdirectories.

FWIW, I think this will break the dash package which includes
a dev/ert.el file with autoload cookies in it and those shouldn't be
placed into the dash-autoloads.el file.

        Stefan

PS: Please send it as a patch so we can see what changed without having
to try and guess.