mirror of
https://github.com/emacs-twist/org-babel.git
synced 2025-03-15 13:07:42 +00:00
19 lines
515 B
Nix
19 lines
515 B
Nix
|
with builtins;
|
||
|
let
|
||
|
excludeOrgSubtreesOnHeadlines = import ./excludeOrgSubtreesOnHeadlines.nix;
|
||
|
|
||
|
matchOrgTag = import ./matchOrgTag.nix;
|
||
|
matchOrgHeadline = import ./matchOrgHeadline.nix;
|
||
|
matchOrgHeadlines = headlines: s:
|
||
|
builtins.any (t: matchOrgHeadline t s) headlines;
|
||
|
|
||
|
tangleOrgBabel = pkgs.callPackage ./tangleOrgBabel.nix {
|
||
|
processLines = processOrgLines;
|
||
|
};
|
||
|
in
|
||
|
{
|
||
|
inherit matchOrgTag matchOrgHeadline matchOrgHeadlines;
|
||
|
inherit excludeOrgSubtreesOnHeadlines;
|
||
|
inherit tangleOrgBabel;
|
||
|
}
|