Skip to content

Commit

Permalink
add missing compat entry to edit (#54769)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3f8e1bd)
  • Loading branch information
palday authored and KristofferC committed Jul 24, 2024
1 parent 9591961 commit c7bf7b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion stdlib/InteractiveUtils/src/editless.jl
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,10 @@ Edit a file or directory optionally providing a line number to edit the file at.
Return to the `julia` prompt when you quit the editor. The editor can be changed
by setting `JULIA_EDITOR`, `VISUAL` or `EDITOR` as an environment variable.
See also [`define_editor`](@ref).
!!! compat "Julia 1.9"
The `column` argument requires at least Julia 1.9.
See also [`InteractiveUtils.define_editor`](@ref).
"""
function edit(path::AbstractString, line::Integer=0, column::Integer=0)
path isa String || (path = convert(String, path))
Expand Down

0 comments on commit c7bf7b8

Please sign in to comment.