From e52083c42ae8f317a0451369d4c2309320878af2 Mon Sep 17 00:00:00 2001 From: Matti Pastell Date: Wed, 27 Feb 2019 12:42:43 +0200 Subject: [PATCH] Display assigned objects from chunk's last line --- src/run.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/run.jl b/src/run.jl index ac7e53e..fe89990 100644 --- a/src/run.jl +++ b/src/run.jl @@ -235,7 +235,7 @@ function capture_output(expr, SandBox::Module, term, disp, #This shows images and lone variables, result can #Handle last line sepately elseif lastline && obj != nothing - (expr.head != :toplevel && expr.head != :(=)) && display(obj) + (expr.head != :toplevel) && display(obj) end catch E throw_errors && throw(E)