Re: How to make Emacs use ELPA version of `compat'?

Arash Esbati <[email protected]> Wed, 13 May 2026 09:35:54 +0200
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
[email protected] writes:

> The rules appear (to me) to be:
>
>    1. Except when debugging, do not call either
>       function. ‘package-activate-all’ will be called
>       automatically.
>
>    2. When debugging, call ‘package-activate-all’ somewhere
>       in your initialization file, depending on where you
>       think the problem might be.
>
>    3. Call ‘package-initialize’ when...? 

You want to debug certain package(s) and you want to have control over
packages loaded, then you can do:

  (progn
    (package-initialize t)
    (package-activate 'foo))

after 'emacs -Q'.

Best, Arash