org-export: Fix bug with recursive file inclusion and relative paths
commit94185eac9227473cf29d9c98c6b24ac0642dccbd
authorNicolas Goaziou <n.goaziou@gmail.com>
Thu, 23 Feb 2012 20:06:17 +0000 (23 21:06 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Thu, 23 Feb 2012 20:28:15 +0000 (23 21:28 +0100)
tree57400c81a6a91886ad28c1bfe166534f0ebb2113
parent186f0f75944dd243cf7b09d64f7503460b08d7b0
org-export: Fix bug with recursive file inclusion and relative paths

* contrib/lisp/org-export.el (org-export-expand-include-keyword): Use
  another optional argument to specify the current working directory.
(org-export-as): Apply changes.
* testing/contrib/lisp/test-org-export.el: Add tests.
* testing/examples/include.org: New test file.
* testing/examples/include2.org: New test file.
contrib/lisp/org-export.el
testing/contrib/lisp/test-org-export.el
testing/examples/include.org [new file with mode: 0644]
testing/examples/include2.org [new file with mode: 0644]