mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 09:01:40 -05:00
Merge pull request #408 from stardiviner/master
Allow ob-ein auto create directory with parents when specify header argument like :dir "data/images".
This commit is contained in:
commit
c4f23d5ce6
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ For example, call (ein:org-register-lang-mode \"ein-R\" 'R) to define a language
|
|||
(d ein:org-inline-image-directory)
|
||||
(tf (concat d "/ob-ein-" f ".png")))
|
||||
(unless (file-directory-p d)
|
||||
(make-directory d))
|
||||
(make-directory d 'parents))
|
||||
tf))
|
||||
|
||||
(defun ein:write-base64-image (img-string file)
|
||||
|
|
Loading…
Add table
Reference in a new issue