Alex Kost <[email protected]> skribis:

> After a user's "~/.emacs" (or "~/.emacs.d/init.el") is loaded, Emacs
> calls ‘package-initialize’ function (if ‘package-enable-at-startup’ is
> non-nil), which does the job: it cycles through all subdirs (for the
> newest packages, as there may be several versions installed) from
> ‘package-user-dir’ and ‘package-directory-list’ vars and loads all
> autoloads from those subdirs.

OK, thanks for the explanation.

> So "guix-init.el" may provide analogous function:

[...]

> Thus with “(require 'guix-init)” in ".emacs" a user will get all needed
> autoloads (and it will work even faster than “package.el” as
> "guix-init.el" will be tiny while “package.el” is rather big).

Indeed.

When we’re there, maybe we can patch our Emacs package, and eventually
submit the change upstream.

Ludo’.

Reply via email to