I tried to publish the project described in (info "(org) Simple example")
and I got the complaint ,---- | ~$ emacs -batch -l foo.el --eval '(org-publish "org")' | No publishing function chosen `---- I attach a patch to fix the doc.
>From 653cf7ba3041c5992091317f0c18c47326f58d70 Mon Sep 17 00:00:00 2001 From: Nick Dokos <ndo...@gmail.com> Date: Wed, 20 Sep 2017 08:03:49 -0400 Subject: [PATCH] Add publishing function to "Simple example" The simple example project definition is missing a publishing function. Added org-html-publish-to-html as the publishing function. --- doc/org.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/org.texi b/doc/org.texi index b368c0e..53143df 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -15024,6 +15024,7 @@ directory on the local machine. '(("org" :base-directory "~/org/" :publishing-directory "~/public_html" + :publishing-function org-html-publish-to-html :section-numbers nil :with-toc nil :html-head "<link rel=\"stylesheet\" -- 2.7.5
-- Nick