ox.el: Fix footnote-bug in #+INCLUDE-keyword
commit7509d6d7218494e377c9387558cf988e64395c44
authorrasmus <rasmus@gmx.us>
Tue, 9 Dec 2014 11:40:52 +0000 (9 12:40 +0100)
committerRasmus <rasmus@gmx.us>
Wed, 24 Dec 2014 10:58:50 +0000 (24 11:58 +0100)
treebc78ee6375019c322a5c70f1f84eccbcf8256855
parent6dcaafff3e8ef56e88bd25945cabe331c33b6097
ox.el: Fix footnote-bug in #+INCLUDE-keyword

* ox.el (org-export--prepare-file-contents): Preserve footnotes
when using the LINES argument.  New optional argument FOOTNOTES.
 (org-export-expand-include-keyword): New optional argument
 FOOTNOTES.
* test-ox.el (test-org-export/expand-include): Add test for INCLUDE
  with :lines and footnotes.
lisp/ox.el
testing/lisp/test-ox.el