fixup! org-babel-load-file: Fix loading with non-nil COMPILE argument

This commit is contained in:
Ihor Radchenko 2022-05-14 19:34:08 +08:00
parent 4fe59b688f
commit ef41f385fb
No known key found for this signature in database
GPG Key ID: 6470762A7DA11D8B
1 changed files with 1 additions and 1 deletions

View File

@ -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))))