It is clear that not all local/custom/personal packages should be officially released, and it would be silly to do so just to benefit from built-in package management support. I'm wondering how to generate and activate autoloads for local packages? That is similar to how package.el
does it for the installed packages from ELPA. In order to avoid reinventing the wheel, is there a way for it to "pretend" that some local directory (with subdirectories each of which is a local/custom/personal package) is ELPA? I'm also open to el-get
if such a scenario can be supported via, for example, custom recipes.
I'm sure the task is pretty common and anybody who uses Emacs on advanced level comes to that point sooner or later. Could anybody share their experiences in this field?
update-directory-autoloads
can be used independently of any package manager.update-directory-autoloads
, to, in effect, make it recursive. 2. You can useupdate-file-autoloads
for every file you are interested in, regardless of which directory it is in.package.el
is also non-recursive (i.e., it doesn't support packages with sources in subdirectories).