ob-core: Make :mkdirp work for :dir too
commit8b5941330b4e67097ea527b7c950fc77fcfbf364
authorstardiviner <numbchild@gmail.com>
Sat, 2 Mar 2019 04:11:47 +0000 (2 12:11 +0800)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 4 Mar 2019 21:25:48 +0000 (4 22:25 +0100)
tree284e7ec13a3d2ce637e6795754fe68ba79a28d26
parent9d7b1ef8a95dde16f5904eb28806415df5d2b472
ob-core: Make :mkdirp work for :dir too

* lisp/ob-core.el (org-babel-execute-src-block): Make directory if
  ":dir path" does not exist when ":mkdirp yes" exist.

* doc/org-manual.org (Header arguments): Document it.

* testing/lisp/test-ob.el: Add a specific testing file for ob-core.el,
  and add a testing for ":mkdir yes" work with :dir header argument
  usage.
doc/org-manual.org
etc/ORG-NEWS
lisp/ob-core.el
testing/lisp/test-ob.el