Hi,

I found publishing when there were no changes to be slower than expected. 
Profiling showed me that `org-publish-cache-file-needs-publishing' was invoking 
the `after-find-file' hooks, which I don't think is necessary.

I've changed it to avoid doing that, by using `with-temp-buffer' and 
`insert-file-contents', and noticed a significant increase in speed.

Is there any reason I'm missing for using `find-file-noselect' in this case?

Best wishes,
Emily Bourke

Attachment: 0001-ox-publish.el-Speed-up-org-publish-cache-file-needs-.patch
Description: Binary data

Reply via email to