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