From b7c5103fdd05c3d30805ebcc5084ef82c44cd8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Miquel?= Date: Wed, 5 May 2021 08:31:43 +0200 Subject: [PATCH] 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. --- Range-diff: -: --------- > 1: b7c5103fd ob-tangle.el: (org-babel-tangle-collect-blocks): Use correct tangle name lisp/ob-tangle.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/ob-tangle.el b/lisp/ob-tangle.el index 96a4ef049..8af03b11a 100644 --- a/lisp/ob-tangle.el +++ b/lisp/ob-tangle.el @@ -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 -- 2.31.1