Skip to content

feat: explicit :dir overrides heading target tag - #10

Closed
kpassapk wants to merge 3 commits into
mainfrom
explicit-dir-override
Closed

feat: explicit :dir overrides heading target tag#10
kpassapk wants to merge 3 commits into
mainfrom
explicit-dir-override

Conversation

@kpassapk

Copy link
Copy Markdown
Owner

The babel advice consed its resolved target onto params, so it won over any :dir on the block itself, and multi-tag headings prompted for a target even when the block already had one. Skip resolution entirely when a :dir is present in the override params or the block's resolved params (block, #+header: line, or header-args property); :dir nil opts a block out of injection.

Also pass executor-type through to the advised function instead of dropping it.

kpassapk and others added 3 commits August 11, 2026 13:11
The babel advice consed its resolved target onto params, so it won
over any :dir on the block itself, and multi-tag headings prompted
for a target even when the block already had one. Skip resolution
entirely when a :dir is present in the override params or the
block's resolved params (block, #+header: line, or header-args
property); :dir nil opts a block out of injection.

Also pass executor-type through to the advised function instead of
dropping it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@kpassapk kpassapk closed this Aug 16, 2026
@kpassapk
kpassapk deleted the explicit-dir-override branch August 16, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant