From mboxrd@z Thu Jan 1 00:00:00 1970 From: psycho_punch Subject: Re: (require 'org-publish) causes downgrade in org-version Date: Mon, 9 Jun 2014 20:16:41 +0800 Message-ID: References: <87oay2wsdr.fsf@Rainer.invalid> <87bnu2wdgm.fsf@Rainer.invalid> <87d2eis34k.fsf@gmail.com> Reply-To: psychopunch.me@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0129478409b03e04fb662fca Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtyVH-0004ay-Fl for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 08:16:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WtyVF-0005ym-VP for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 08:16:43 -0400 Received: from mail-ig0-x235.google.com ([2607:f8b0:4001:c05::235]:47539) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WtyVF-0005yL-R2 for emacs-orgmode@gnu.org; Mon, 09 Jun 2014 08:16:41 -0400 Received: by mail-ig0-f181.google.com with SMTP id h3so3747202igd.2 for ; Mon, 09 Jun 2014 05:16:41 -0700 (PDT) In-Reply-To: <87d2eis34k.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Alexis Cc: emacs-orgmode@gnu.org --089e0129478409b03e04fb662fca Content-Type: text/plain; charset=UTF-8 So I need to explicitly call (package-initialize) in init.el, probably one of the, if not the, first line? On Mon, Jun 9, 2014 at 7:59 PM, Alexis 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. > > --089e0129478409b03e04fb662fca Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
So I need to explicitly call (package-initialize) in init.= el, probably one of the, if not the, first line?


On Mon, Jun 9, 2014 at 7:59 PM= , Alexis <flexibeast@gmail.com> 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 a= fter
> 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 g= et
> loaded...

They get loaded when (package-initialize) is called in one's
initialisation file(s).


Alexis.


--089e0129478409b03e04fb662fca--