Adjust ob-tangle to new copy-file behavior
* lisp/org/ob-tangle.el (org-babel-tangle-publish): Port to new copy-file behavior.
This commit is contained in:
parent
739593d687
commit
74b8615fcc
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ Return a list whose CAR is the tangled file name."
|
|||
"Tangle FILENAME and place the results in PUB-DIR."
|
||||
(unless (file-exists-p pub-dir)
|
||||
(make-directory pub-dir t))
|
||||
(setq pub-dir (file-name-as-directory pub-dir))
|
||||
(mapc (lambda (el) (copy-file el pub-dir t)) (org-babel-tangle-file filename)))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Reference in a new issue