emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] (require 'org-publish) causes downgrade in org-version


From: Eric Abrahamsen
Subject: Re: [O] (require 'org-publish) causes downgrade in org-version
Date: Mon, 09 Jun 2014 20:43:02 +0800
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

psycho_punch <address@hidden> writes:

> So I need to explicitly call (package-initialize) in init.el,
> probably one of the, if not the, first line?

If I recall correctly, the recommended thing is to put all of your
package-specific customizations either in the customize interface (in
which case they'll get applied correctly) or behind either a mode hook,
or an eval-after-load. Also see package-enable-at-startup, in the info
node (emacs) Package Installation

E

>
> On Mon, Jun 9, 2014 at 7:59 PM, Alexis <address@hidden> wrote:
>
>    
>     psycho_punch writes:
>    
>     > I've defined my initialization script in ~/.emacs.d/init.el;
>     I'm not sure
>     > if it matters. So since 'ox-publish doesn't get loaded until
>     after
>     > initialization, I defined:
>     >
>     > (add-hook 'after-init-hook (lambda() (load-file
>     > "/path/to/org-publish-project.el")))
>     >
>     > I'm wondering when do the packages installed via
>     package-install get
>     > loaded...
>    
>     They get loaded when (package-initialize) is called in one's
>     initialisation file(s).
>    
>    
>     Alexis.
>    




reply via email to

[Prev in Thread] Current Thread [Next in Thread]