Add 'inline-only option to org-export-babel-evaluate
commit25869e5670942f069cd3b4c3612610711fd28cca
authorAaron Ecay <aaronecay@gmail.com>
Sun, 31 Mar 2013 22:47:44 +0000 (31 18:47 -0400)
committerBastien Guerry <bzg@altern.org>
Thu, 18 Apr 2013 08:41:47 +0000 (18 10:41 +0200)
treefbff5d251196fe863310bc45ae4680b2099e471b
parent4757c5c8dd74ea2b8e8d569e917675bf632efba9
Add 'inline-only option to org-export-babel-evaluate

* lisp/ob-exp.el (org-export-babel-evaluate): Add a 'inline-only option.
  (org-babel-exp-results): Implement 'inline-only for
  `org-export-babel-evaluate'.
* doc/org.texi (Exporting code blocks): Document the 'inline-only setting
  for `org-export-babel-evaluate'.

This is useful because there is no way for inline results to be stored.
The imagined usecase is that all non-inline source blocks will be
evaluated manually by the user.  Inline blocks, however, must be
evaluated during export, or they will be simply deleted by the exporter.
doc/org.texi
lisp/ob-exp.el