Subject: bug#18443: 24.3.93; Feature request - Add a variable for byte-compile function in `package--compile'

From: Stefan Monnier <[email-masked]>
Date: Wed, 10 Sep 2014 09:39:56 -0400

> would it be possible to add a variable to `package--compile' to allow
> using another function than `byte-recompile-directory'?
> I must use a defadvice actually which is annoying.

Could you give some detail about what kind of advice you're installing
("git pull; grep defadvice" didn't help).

> See https://github.com/emacs-helm/helm/issues/617
> https://github.com/emacs-helm/helm/issues/619
> and many similars issues you will find there to understand why
> `byte-recompile-directory' is inefficient.

Has someone tried my suggestion:

   E.g. we could add to bytecomp.el the ability to force `require' to
   reload a package if it's not already loaded from the file that
   locate-library returns.

-- Stefan