[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: auto export via git hook
From: |
andrea crotti |
Subject: |
[Orgmode] Re: auto export via git hook |
Date: |
Fri, 04 Sep 2009 13:28:16 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (darwin) |
Nick Dokos <address@hidden> writes:
> andrea crotti <address@hidden> wrote:
> See the following thread in the mail list archive:
>
> http://thread.gmane.org/gmane.emacs.orgmode/17059
>
> Basically, --batch implies -q, so you have to do any initialization
> (including setting the load-path) as part of the invocation.
>
Ok thanks I understood the problem but I still didn't solve it, now with
this
emacs --batch \
--load=$HOME/.emacs.d/init.el \
--load=$HOME/.emacs.d/org-mode/org.elc \
--eval "(setq org-export-headline-levels 2)" \
--visit=README.org --funcall org-export-as-html-batch
I get:
.git/hooks/pre-commit.bak
Invalid function: charset-iso-final-char
which is "charset-iso-final-char is a compiled Lisp function in
`mule.el'."
But I also suspect that init.el is not loaded, it's too fast...
any help?