Hide .orgx files and use theindex.org directly.
authorBastien Guerry <bzg@altern.org>
Thu, 28 Jul 2011 09:24:02 +0000 (11:24 +0200)
committerBastien Guerry <bzg@altern.org>
Thu, 28 Jul 2011 09:24:02 +0000 (11:24 +0200)
commitf0d7acfb7867518529d63fe3d111f5f3cf39a61f
tree7a7ec2416c6c8605e9c38b54df68548974ec3298
parent3dcb89e2b782123d99493410cf4de964cbdadf84
Hide .orgx files and use theindex.org directly.

Deleting .orgx files is an error -- thanks to Carsten for pointing
at this.  Instead, we "hide" them by using dotted files: .file.orgx.

Also, use theindex.org directly instead of including theindex.inc in
theindex.org.  This prevents a bug about republication of theindex.org
being skipped because the file has not been updated.

* org-publish.el (org-publish-index-generate-theindex): rename
from `org-publish-index-generate-theindex.inc'.  Use the file
theindex.org directly instead of including theindex.inc.
(org-publish-projects): Don't delete .orgx files.
(org-publish-aux-preprocess): Use .file.orgx.
lisp/org-publish.el