Tony Day zygom...@gmail.com wrote:
In the current buffer, org-export-handle-include-file overwrites:
#+INCLUDE: ./some-other-file.org
with contents of the other file. For example,
#+BEGIN_EXAMPLE
* other file header
:PROPERTIES:
:OTHER_PROPS: yes
:END:
Contents of the other file.
On 9 Dec 2012, at 02:24, Nick Dokos nicholas.do...@hp.com wrote:
Is there a method where you can use
#+INCLUDE without overwriting the current buffer?
You can do what org-export-preprocess-string does: create a temp
buffer, insert the contents of the original buffer and call
In the current buffer, org-export-handle-include-file overwrites:
#+INCLUDE: ./some-other-file.org
with contents of the other file. For example,
#+BEGIN_EXAMPLE
* other file header
:PROPERTIES:
:OTHER_PROPS: yes
:END:
Contents of the other file.
#+END_EXAMPLE
Is this the intended behaviour?