emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals-release/org ef41f385fb: fixup! org-babel-load-file: Fix


From: ELPA Syncer
Subject: [elpa] externals-release/org ef41f385fb: fixup! org-babel-load-file: Fix loading with non-nil COMPILE argument
Date: Sat, 14 May 2022 07:57:47 -0400 (EDT)

branch: externals-release/org
commit ef41f385fbe79a0e6369a0da782479632dba5901
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    fixup! org-babel-load-file: Fix loading with non-nil COMPILE argument
---
 lisp/org.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org.el b/lisp/org.el
index 253581cb07..6842bfe9b1 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 (byte-compile-dest-file tangled-file))
+         (load-file (byte-compile-dest-file tangled-file))
          (message "Compiled and loaded %s" tangled-file))
       (load-file tangled-file)
       (message "Loaded %s" tangled-file))))



reply via email to

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