fix file copy problem
This commit is contained in:
parent
98f2166db9
commit
7bad2b4361
@ -73,8 +73,9 @@
|
||||
|
||||
(defun mermaid-run (fmt in-file out-file)
|
||||
(cond ((string= fmt "svg")
|
||||
(copy-file (concat (file-name-nondirectory in-file) ".svg")
|
||||
out-file))
|
||||
(copy-file (concat in-file ".svg")
|
||||
out-file
|
||||
:ok-if-exists t))
|
||||
(t (mermaid-shell-command org-babel-temporary-directory
|
||||
(concat org-mermaid-convert " "
|
||||
(file-name-nondirectory in-file)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user