Skip to content

Commit

Permalink
Fix deprecated @textmime
Browse files Browse the repository at this point in the history
  • Loading branch information
TotalVerb committed Sep 14, 2016
1 parent b3e1298 commit 9aac555
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1005,8 +1005,7 @@ eval(Multimedia, :(macro textmime(mime)
"`Base.Multimedia.mimetypetype(::MIME{mime}) = ",
"Base.Multimedia.IsText` instead."), :textmime)
quote
Base.Multimedia.mimetypetype(::MIME{$(Meta.quot(Symbol(mime)))}) =
Base.Multimedia.IsText()
Base.Multimedia.istextmime(::MIME{$(Meta.quot(Symbol(mime)))}) = true
end
end))

Expand Down

0 comments on commit 9aac555

Please sign in to comment.