From 381941e4787372ca64aa769d67883233d495f5db Mon Sep 17 00:00:00 2001 From: Fredrik Ekre Date: Thu, 6 Oct 2022 12:55:15 +0200 Subject: [PATCH] [julia] Update startup.jl to define REPL as local variable. --- .julia/config/startup.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.julia/config/startup.jl b/.julia/config/startup.jl index 776cf89..baec927 100644 --- a/.julia/config/startup.jl +++ b/.julia/config/startup.jl @@ -1,5 +1,5 @@ if Base.isinteractive() && - (REPL = get(Base.loaded_modules, Base.PkgId(Base.UUID("3fa0cd96-eef1-5676-8a61-b3b8758bbffb"), "REPL"), nothing); REPL !== nothing) + (local REPL = get(Base.loaded_modules, Base.PkgId(Base.UUID("3fa0cd96-eef1-5676-8a61-b3b8758bbffb"), "REPL"), nothing); REPL !== nothing) # Exit Julia with :q pushfirst!(REPL.repl_ast_transforms, function(ast::Union{Expr,Nothing})