This line seems to do the trick:
edit(m::Module) = edit(abspath(joinpath(pathof(m), "..", "..")))
# opens /Users/patrick/.julia/packages/AbstractPlotting/gE7AT/:
edit(AbstractPlotting)
… but I have a suspicion that what I want is already implemented somewhere and/or there’s a better way to do this. Thoughts?