On 13/05/2022 17:38, Ihor Radchenko wrote:
Max Nikulin writes:
It seems, it is a regression caused by the Org commit
0193b543e9ef84bfefe76d55e330d5b1cb842cef
- (byte-compile-file tangled-file 'load)
+ (byte-compile-file tangled-file)
+ (load tangled-file)
What if you substitute the load call with
(load (byte-compile-dest-file tangled-file))?
I do not mind (of course if there is no plan to deprecate the function).
Fixed on bugfix via 4fe59b688
Ihor, I am sorry for confusion, it still does not work for me. Likely I
tried locally with `load-file' instead of `load'. The former
additionally has `expand-file-name'. (Emacs-26.3)
As to another patch
Date: Fri, 13 May 2022 18:21:36 +0800
Subject: [PATCH] org-babel-load-file: Do not rely on
`org-babel-tangle-file' making changes
The following thread should be more suitable for discussion
Greg Minshall to emacs-orgmode. tangle option to not write a file with
same contents? Thu, 28 Oct 2021 07:04:58 +0300.
https://list.orgmode.org/583051.1635393...@apollo2.minshall.org