[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] auto export via git hook
From: |
andrea crotti |
Subject: |
[Orgmode] auto export via git hook |
Date: |
Thu, 03 Sep 2009 11:26:48 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (darwin) |
I want to automatically export to html or something else in my pre-
commit hook with git, I tried many things but I always get the same
error
mbpro:rt-simulate andrea$ cat .git/hooks/pre-commit.bak
emacs --batch --load=$HOME/.emacs.d/org-mode/org.el --eval "(setq org-
export-headline-levels 2)" --visit=README.org --funcall org-export-as-
html-batch
mbpro:rt-simulate andrea$ sh .git/hooks/pre-commit.bak
Cannot open load file: org-macs
org-macs is a library which is situated ~/.emacs.d/org-mode which
should be automatically in the load path (not using --quiet), so what
could be the problem?
Thanks again
- [Orgmode] auto export via git hook,
andrea crotti <=