Skip to content

Commit

Permalink
Fixup from JuliaLang#10885
Browse files Browse the repository at this point in the history
Qualify more functions using stop_reading, start_reading with Base
module identifier.

Also touch up whitespace error in docs
  • Loading branch information
jiahao authored and mbauman committed Jun 5, 2015
1 parent 306bec4 commit f2bc28c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions base/REPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -792,11 +792,11 @@ function setup_interface(repl::LineEditREPL; hascolor = repl.hascolor, extra_rep
LineEdit.commit_line(s)
# This is slightly ugly but ok for now
terminal = LineEdit.terminal(s)
stop_reading(terminal)
Base.stop_reading(terminal)
raw!(terminal, false) && disable_bracketed_paste(terminal)
LineEdit.mode(s).on_done(s, LineEdit.buffer(s), true)
raw!(terminal, true) && enable_bracketed_paste(terminal)
start_reading(terminal)
Base.start_reading(terminal)
else
break
end
Expand Down
2 changes: 1 addition & 1 deletion base/client.jl
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ end

function repl_callback(ast::ANY, show_value)
global _repl_enough_stdin = true
stop_reading(STDIN)
Base.stop_reading(STDIN)
put!(repl_channel, (ast, show_value))
end

Expand Down
2 changes: 1 addition & 1 deletion base/multi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ end
function process_messages(r_stream::TCPSocket, w_stream::TCPSocket; kwargs...)
@schedule begin
disable_nagle(r_stream)
start_reading(r_stream)
Base.start_reading(r_stream)
wait_connected(r_stream)
if r_stream != w_stream
disable_nagle(w_stream)
Expand Down
2 changes: 1 addition & 1 deletion doc/manual/variables-and-scoping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ The constructs introducing such blocks are:
- ``for`` loops
- ``try`` blocks
- ``catch`` blocks
- ``finally`` blocks
- ``finally`` blocks
- ``let`` blocks
- ``type`` blocks.

Expand Down

0 comments on commit f2bc28c

Please sign in to comment.