Federico Beffa (2014-12-01 20:15 +0300) wrote:

> AFAIU the initialization of each package is already defined inside each
> package by the author. The way emacs's packaging infrastructure works
> goes along the lines (see (elisp) Packaging Basics):
>
> * At installation:
>
>   - Search every Lisp file in the content directory for autoload magic
>     comments (*note Autoload::).  These autoload definitions are saved
>     to a file named `NAME-autoloads.el' in the package's content
>     directory.
>
>   - Byte-compiles every Lisp file in the package.
>
>   - Add the package's content directory to `load-path', and evaluates
>     the autoload definitions in `NAME-autoloads.el'.
>
> * At startup:
>
>   - Emacs scans for a predefined directory for NAME-autoloads.el files
>     and evaluates them ('package-initialize' function). We could maybe
>     exploit 'after-init-hook' or something something similar.

Thanks, I know all that stuff.

(I'm sorry if it was sounded rude)

-- 
Alex

Reply via email to