ob-exp: Do not ignore `org-src-preserve-indentation'
commitac2f516edf90e9631f069c08294fb11ecf42b231
authorNicolas Goaziou <n.goaziou@gmail.com>
Sat, 1 Feb 2014 20:49:37 +0000 (1 21:49 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sat, 1 Feb 2014 20:52:43 +0000 (1 21:52 +0100)
tree10b98c2c363ad444b5afd9bb371bf3ca76a8872e
parentccc4f6b96e6af91a5a1e7a5e6766eed9006d658b
ob-exp: Do not ignore `org-src-preserve-indentation'

* lisp/ob-exp.el (org-babel-exp-process-buffer): Also check
  `org-src-preserve-indentation' to know when to preserve indentation.
* testing/lisp/test-ob-exp.el (ob-export/export-and-indentation): New
  test.

Thanks to John Hendy for reporting it.
lisp/ob-exp.el
testing/lisp/test-ob-exp.el