Allow org-exp-blocks plugins to return block with indentation unaltered.
commit957b4088483d910a496a0bcd13b10621bc7504bd
authorDan Davison <davison@stats.ox.ac.uk>
Sat, 31 Oct 2009 19:45:52 +0000 (31 15:45 -0400)
committerDan Davison <davison@stats.ox.ac.uk>
Sat, 31 Oct 2009 19:45:52 +0000 (31 15:45 -0400)
tree73151e3ef1900f5da3fc6e18c440dbefdb8839ee
parentd9447ad7b08332cac005bcb602ac1e55cf0588cf
Allow org-exp-blocks plugins to return block with indentation unaltered.

With these changes, if org-src-preserve-indentation is non-nil, or if
the block has a -i switch, then the behaviour of org-exp-blocks is
altered as follows:

1. Indentation is not removed before passing the block contents to the
   block-transforming plugin.

2. The result returned by the plugin is not re-indented.
lisp/org-exp-blocks.el