diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-03-16 08:35:06 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-03-16 08:35:06 +0000 |
commit | f3fedc862c64187ab074ebb36114db8acac1c168 (patch) | |
tree | b662efc91acc0a3563589c423e8906f4ac47ca46 /editmsg.c | |
parent | 97ef16fccca4be6a4960082a2c7149e7f49b33bb (diff) |
Use Editor with a fall-back to visual when editing messages.
Diffstat (limited to 'editmsg.c')
-rw-r--r-- | editmsg.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -87,7 +87,8 @@ static int edit_one_message (CONTEXT *ctx, HEADER *cur) if (stat (tmp, &sb) == 0) mtime = sb.st_mtime; - mutt_edit_file (NONULL (Visual), tmp); + mutt_edit_file ((!Editor || mutt_strcmp ("builtin", Editor) == 0) ? + NONULL(Visual) : NONULL(Editor), tmp); if ((rc = stat (tmp, &sb)) == -1) { |