Sorry for the reply to my own mail. But as Carsten is on vacation, I thought it might make sense to add the `[Patch]' to the subject. This patch fixes batch-mode publishing. Tested in emacs24 like this: sh$ emacs -q -batch --eval='(org-publish "PROJECT_NAME" t)'