From 6dad6c56432334b4aba6ee3062466737897269ac Mon Sep 17 00:00:00 2001 From: Rashid Rafeek Date: Mon, 28 Nov 2022 12:14:05 +0530 Subject: [PATCH] Fix REPL keybinding CTRL-Q for stdlib methods (#47637) (cherry picked from commit 7514bcf0bda547012f19a071daa132c3e8e97613) --- stdlib/REPL/src/REPL.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/REPL/src/REPL.jl b/stdlib/REPL/src/REPL.jl index 3308760046d4e..472e3fd2c3985 100644 --- a/stdlib/REPL/src/REPL.jl +++ b/stdlib/REPL/src/REPL.jl @@ -1203,7 +1203,7 @@ function setup_interface( @goto writeback end try - InteractiveUtils.edit(linfos[n][1], linfos[n][2]) + InteractiveUtils.edit(Base.fixup_stdlib_path(linfos[n][1]), linfos[n][2]) catch ex ex isa ProcessFailedException || ex isa Base.IOError || ex isa SystemError || rethrow() @info "edit failed" _exception=ex