Simplify backwards compatibility logic for VISUAL.
commitdb2c4a66142a6277351bc975f445ec1511a3965d
authortoonn <toonn@toonn.io>
Wed, 31 Jan 2018 14:08:12 +0000 (31 15:08 +0100)
committertoonn <toonn@toonn.io>
Wed, 31 Jan 2018 14:36:20 +0000 (31 15:36 +0100)
tree5c55b0bac7af3b83528670e504421d7fd8329688
parenta17508d5c1492af1579ae561a840cdd859946ddc
Simplify backwards compatibility logic for VISUAL.

If both `EDITOR` and `VISUAL` are unset, setting `VISUAL` because it's
technically the right thing to do and setting `EDITOR` for backwards
compatibility complicates the logic. `rifle` will now only do the
latter.
ranger/ext/rifle.py