emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] emacs --batch without calling all the .el scripts


From: Enda
Subject: Re: [O] emacs --batch without calling all the .el scripts
Date: Thu, 14 Jun 2012 09:46:19 -0700 (PDT)

Enda writes:

> emacs --batch --visit=index.org --funcall org-export-as-html-batch
>
> all the .el scripts in /etc/emacs/site-start.d/ get called which
> takes
> time, since all of these are unnecessary except 50org-mode.el, is
> there is way to only load 50org-mode.el


Bastien writes:

>Untested:
>
>emacs -Q --batch --visit=index.org -l \
>/etc/emacs/site-start.d/50org-mode.el \
>--funcall org-export-as-html-batch
>
>HTH,


This worked:

emacs -Q --batch --visit=index.org --funcall org-export-as-html-batch

It did not require the -l  /etc/emacs/site-start.d/50org-mode.el.


Best wishes,

Enda


reply via email to

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