On 19/03/2024 21:49, Ihor Radchenko wrote:
but I do not see downsides of using `insert-file-contents' instead of `find-file-noselect' and not running `find-file-hook' in this particular case (other cases in Org tree appears to be fine from a quick glance).https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=b338a9069
`with-temp-buffer' makes `kill-buffer' unnecessary.