From 47c8b748f249c46f175ec975a35d6c86ca4b2c62 Mon Sep 17 00:00:00 2001 From: nixo Date: Thu, 11 Jun 2020 10:19:00 +0200 Subject: [PATCH] fix evaluation when a comment was used as last line of the block --- init.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.jl b/init.jl index 5159244..96f434a 100644 --- a/init.jl +++ b/init.jl @@ -246,7 +246,7 @@ function OrgBabelFormat(output_type::Symbol, catch end # Dispatch on output type - code = pure ? "let $vars; $content; end" : "begin $vars; $content end" + code = pure ? "let $vars; $content; end" : "begin $vars; $content;\n end" if output_type == :value # Run the code result = cd(dir) do