Skip to content

Commit c7bf7b8

Browse files
paldayKristofferC
authored andcommitted
add missing compat entry to edit (#54769)
(cherry picked from commit 3f8e1bd)
1 parent 9591961 commit c7bf7b8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

stdlib/InteractiveUtils/src/editless.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,10 @@ Edit a file or directory optionally providing a line number to edit the file at.
223223
Return to the `julia` prompt when you quit the editor. The editor can be changed
224224
by setting `JULIA_EDITOR`, `VISUAL` or `EDITOR` as an environment variable.
225225
226-
See also [`define_editor`](@ref).
226+
!!! compat "Julia 1.9"
227+
The `column` argument requires at least Julia 1.9.
228+
229+
See also [`InteractiveUtils.define_editor`](@ref).
227230
"""
228231
function edit(path::AbstractString, line::Integer=0, column::Integer=0)
229232
path isa String || (path = convert(String, path))

0 commit comments

Comments
 (0)