Skip to content

Fix :tangle to support any file name or path - #8

Open
HeitorAugustoLN wants to merge 1 commit into
talyz:masterfrom
HeitorAugustoLN:fix-tangle
Open

Fix :tangle to support any file name or path#8
HeitorAugustoLN wants to merge 1 commit into
talyz:masterfrom
HeitorAugustoLN:fix-tangle

Conversation

@HeitorAugustoLN

Copy link
Copy Markdown

Previously, tokenizeOrgModeBabelElisp' only recognized yes or "yes" as valid arguments for the :tangle header. This prevented the parser from correctly tangling blocks that specified an output file path (e.g., :tangle init.el).

Update the doTangle logic to accept any string value (file name/path) as long as it is not explicitly no or nil.

Previously, `tokenizeOrgModeBabelElisp'` only recognized `yes` or `"yes"`
as valid arguments for the `:tangle` header. This prevented the parser
from correctly tangling blocks that specified an output file path
(e.g., `:tangle init.el`).

Update the `doTangle` logic to accept any string value (file name/path)
as long as it is not explicitly `no` or `nil`.
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