|
From: | Timothy |
Subject: | Re: Is it possible to #+include: src blocks and tangle them too? |
Date: | Tue, 13 Apr 2021 14:59:50 +0800 |
User-agent: | mu4e 1.4.15; emacs 28.0.50 |
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes: > #+include is a keyword specific to export. I doubt it would work with > tangling out of the box. > > However, you may try calling `org-export-expand-include-keyword' from > `org-babel-pre-tangle-hook'. Untested. Doom has been doing this for a while with config.org tangling: https://github.com/hlissner/doom-emacs/blob/ce65645fb87ed1b24fb1a46a33f77cf1dcc1c0d5/bin/org-tangle#L155 -- Timothy
[Prev in Thread] | Current Thread | [Next in Thread] |