forked from mirrors/org-mode
ob-tangle.el: (org-babel-tangle-collect-blocks): Use correct tangle name
* lisp/ob-tangle.el: (org-babel-tangle-collect-blocks): Use correct tangle name. The :tangle header argument might be some elisp, to be evaluated.
This commit is contained in:
parent
d59f35fbb7
commit
501b2a191c
|
@ -377,6 +377,7 @@ be used to limit the collected code blocks by target file."
|
|||
;; Add the spec for this block to blocks under its tangled
|
||||
;; file name.
|
||||
(let* ((block (org-babel-tangle-single-block counter))
|
||||
(src-tfile (cdr (assq :tangle (nth 4 block))))
|
||||
(base-name (cond
|
||||
((string= "yes" src-tfile)
|
||||
;; buffer name
|
||||
|
|
Loading…
Reference in New Issue