Use theindex.inc and theindex.org as described in the manual.
commit006d704145bbc39313fed89dc958ea7230e3b9d7
authorBastien Guerry <bzg@altern.org>
Sat, 17 Dec 2011 14:55:18 +0000 (17 15:55 +0100)
committerBastien Guerry <bzg@altern.org>
Tue, 3 Jan 2012 08:12:30 +0000 (3 09:12 +0100)
tree5ca5839d9bedd556ad87c960913e26ca099a926f
parenta3ac9d80edb483bf212447dbbada6c2da04e5b2e
Use theindex.inc and theindex.org as described in the manual.

* org-publish.el (org-publish-index-generate-theindex): Use
theindex.inc for storing index entries, and theindex.org for
including theindex.inc.

Commit f0d7ac removed the theindex.inc and directly included
index entries in theindex.org.  This is not as flexible as using
theindex.org as a page you want to manually edit, which can then
include theindex.inc with proper content.

Thanks to Stefan Vollmar for insisting about this issue.
lisp/org-publish.el