From bb438dc04003039a3168fff9ca1a4625f3b08e2c Mon Sep 17 00:00:00 2001 From: "Steven G. Johnson" Date: Mon, 23 Jul 2018 14:35:04 -0400 Subject: [PATCH] fix #688 (? cells) --- src/execute_request.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/execute_request.jl b/src/execute_request.jl index b794fcd8..3aaf8503 100644 --- a/src/execute_request.jl +++ b/src/execute_request.jl @@ -173,11 +173,11 @@ function execute_request(socket, msg) end - if hcode != code # help request + ans = result = if hcode != code # help request Core.eval(Main, helpmode(hcode)) else #run the code! - ans = result = occursin(magics_regex, code) ? magics_help(code) : + occursin(magics_regex, code) ? magics_help(code) : include_string(current_module[], code, "In[$n]") end