Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Don't do buffer pre-processing for file exports #590

Merged
merged 4 commits into from
Mar 15, 2022

Conversation

kaushalmodi
Copy link
Owner

The buffer pre-processing is needed only when exporting subtrees to resolve links that a subtree might have to another subtree in the same Org file.

File exports don't need that as the entire file scope is exported.

Fixes #589.

Fixes #589.

Add internal helper function
`org-hugo--buffer-has-valid-post-subtree-p`.

Clean up the `org-hugo-export-wim-to-md` docstring.
@kaushalmodi kaushalmodi force-pushed the dont-preprocess-for-file-exports branch from da94c0e to 63c87ee Compare March 15, 2022 17:01
@kaushalmodi kaushalmodi merged commit e142d40 into main Mar 15, 2022
@kaushalmodi kaushalmodi deleted the dont-preprocess-for-file-exports branch March 15, 2022 17:13
kaushalmodi added a commit that referenced this pull request Mar 15, 2022
Fixes this minor interactive use regression introduced in
#590.
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.

Prevent pre-processing of buffer if no valid Hugo subtree is found
1 participant