Nick Dokos nicholas.do...@hp.com writes:
andrea crotti andrea.crott...@gmail.com 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?
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode