[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals-release/org 4fe59b688f: org-babel-load-file: Fix loadin
From: |
ELPA Syncer |
Subject: |
[elpa] externals-release/org 4fe59b688f: org-babel-load-file: Fix loading with non-nil COMPILE argument |
Date: |
Fri, 13 May 2022 06:57:55 -0400 (EDT) |
branch: externals-release/org
commit 4fe59b688f09baed819a508dc18f0e41be05aa77
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
org-babel-load-file: Fix loading with non-nil COMPILE argument
* lisp/org.el (org-babel-load-file): Use correct file name to load
compiled file.
Fixes https://orgmode.org/list/t5j75h$dbo$1@ciao.gmane.io
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index e0144605b0..253581cb07 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -247,7 +247,7 @@ byte-compiled before it is loaded."
(if compile
(progn
(byte-compile-file tangled-file)
- (load tangled-file)
+ (load (byte-compile-dest-file tangled-file))
(message "Compiled and loaded %s" tangled-file))
(load-file tangled-file)
(message "Loaded %s" tangled-file))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals-release/org 4fe59b688f: org-babel-load-file: Fix loading with non-nil COMPILE argument,
ELPA Syncer <=