ob-eval: make org-babel--shell-command-on-region internal and simplify
commit94934010d7980c0c9c88deef6f165ffca74bc080
authorAchim Gratz <Stromeko@Stromeko.DE>
Sun, 24 Feb 2013 16:15:36 +0000 (24 17:15 +0100)
committerAchim Gratz <Stromeko@Stromeko.DE>
Sat, 2 Mar 2013 21:49:46 +0000 (2 22:49 +0100)
tree45de5a49ee9f80ce1f6f1066e9f12d461d9e5673
parentcbf2fcf60c836657fbbce0d99314e09ac6f0026f
ob-eval: make org-babel--shell-command-on-region internal and simplify

* lisp/ob-eval.el (org-babel-eval): Use simplified version of
  `org-babel--shell-command-on-region´, we are the only caller of this
  function.
* lisp/ob-eval.el (org-babel--shell-command-on-region): Replace
  `org-babel-shell-command-on-region´ with a much more simplified
  internal version, remove superfluous DOCSTRING and interactive
  clause, strip out all conditionals which were never used.  Prevent
  deletion of temporary input file to aid debugging when the symbol
  `org-babel--debug-input´ is bound and has non-nil value.
lisp/ob-eval.el