external-editor.js: use VISUAL rather than EDITOR if set in environment