Skip to content

Commit 7514bcf

Browse files
authored
Fix REPL keybinding CTRL-Q for stdlib methods (#47637)
1 parent 99be295 commit 7514bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/REPL/src/REPL.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1248,7 +1248,7 @@ function setup_interface(
12481248
@goto writeback
12491249
end
12501250
try
1251-
InteractiveUtils.edit(linfos[n][1], linfos[n][2])
1251+
InteractiveUtils.edit(Base.fixup_stdlib_path(linfos[n][1]), linfos[n][2])
12521252
catch ex
12531253
ex isa ProcessFailedException || ex isa Base.IOError || ex isa SystemError || rethrow()
12541254
@info "edit failed" _exception=ex

0 commit comments

Comments
 (0)