Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
speedup: Reduce repeated find-file ops on the same file
A find-file used to happen for each link searched in an external Org file when exported each subtree post when using the all-subtrees option of the wim exporting function. Now the export function is allowed to open as many files and buffers as needed, but they are now killed at the very end of each export. This immensely improves the exporting speed when doing C-c C-e H A. - Renamed the old `org-hugo--after-export-function` to `org-hugo--after-1-export-function`. - Added new hook function that's called after **all** exports are done: `org-hugo--after-all-exports-function`.
- Loading branch information
1 parent
dd09f72
commit c450ed0
Showing
1 changed file
with
59 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters