Skip to content

Commit

Permalink
Merge pull request JuliaLang#25978 from fredrikekre/fe/edit
Browse files Browse the repository at this point in the history
Fix two annoying warnings
  • Loading branch information
JeffBezanson authored Feb 9, 2018
2 parents e0c93aa + c08f221 commit f45b9b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stdlib/Pkg/src/Pkg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Please see the manual section on packages for more information.
module Pkg

export Dir, Types, Reqs, Cache, Read, Query, Resolve, Write, Entry
export dir, init, rm, add, available, installed, status, clone, checkout,
export dir, init, add, available, installed, status, clone, checkout,
update, resolve, test, build, free, pin, PkgError, setprotocol!

const DEFAULT_META = "https://github.com/JuliaLang/METADATA.jl"
Expand Down
3 changes: 2 additions & 1 deletion stdlib/REPL/src/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
module REPL

using Base.Meta
import InteractiveUtils

export
AbstractREPL,
Expand Down Expand Up @@ -981,7 +982,7 @@ function setup_interface(
if n <= 0 || n > length(linfos) || startswith(linfos[n][1], "./REPL")
@goto writeback
end
Base.edit(linfos[n][1], linfos[n][2])
InteractiveUtils.edit(linfos[n][1], linfos[n][2])
LineEdit.refresh_line(s)
return
@label writeback
Expand Down

0 comments on commit f45b9b0

Please sign in to comment.