1
0
Fork 0
mirror of https://github.com/emacs-twist/org-babel.git synced 2025-03-05 08:17:05 +00:00

feat: Add a convenient function for creating a file

This commit is contained in:
Akira Komamura 2021-12-03 23:14:31 +09:00
parent 9fb8001ae1
commit 3ca9905d0b

View file

@ -8,9 +8,13 @@ let
builtins.any (t: matchOrgHeadline t s) headlines;
tangleOrgBabel = import ./tangleOrgBabel.nix;
tangleOrgBabelFile = name: path: options:
toFile name (tangleOrgBabel options (readFile path));
in
{
inherit matchOrgTag matchOrgHeadline matchOrgHeadlines;
inherit excludeOrgSubtreesOnHeadlines;
inherit tangleOrgBabel;
inherit tangleOrgBabelFile;
}