emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] org-babel-load-file can not compile file


From: Ihor Radchenko
Subject: Re: [BUG] org-babel-load-file can not compile file
Date: Wed, 11 May 2022 20:41:47 +0800

Max Nikulin <manikulin@gmail.com> writes:

> Actual result:
>> Compiling /home/ubuntu/examples/org/ex-ob-load-file.el...done
>> Wrote /home/ubuntu/examples/org/ex-ob-load-file.elc
>> progn: Cannot open load file: No such file or directory, ex-ob-load-file.el
>
> 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))?

Best,
Ihor



reply via email to

[Prev in Thread] Current Thread [Next in Thread]