diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2004-07-14 05:39:23 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2004-07-14 05:39:23 +0000 |
commit | 54d88e6db7db1a717af34adc6d58036d26e5edd6 (patch) | |
tree | fd2e0fb0780e4f116ce4c4850da4a6fa99cc0983 /compose.c | |
parent | 482c8c16a4d2e91647267b33438263ea5235d85e (diff) |
Don't invoke "builtin" as an external editor. Note: It's not clear
to me that this is really the right approach. Revisit Editor/Visual
some time.
Diffstat (limited to 'compose.c')
-rw-r--r-- | compose.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -572,8 +572,9 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */ } /* fall through */ case OP_COMPOSE_EDIT_HEADERS: - if (op == OP_COMPOSE_EDIT_HEADERS || - (op == OP_COMPOSE_EDIT_MESSAGE && option (OPTEDITHDRS))) + if (mutt_strcmp ("builtin", Editor) != 0 && + (op == OP_COMPOSE_EDIT_HEADERS || + (op == OP_COMPOSE_EDIT_MESSAGE && option (OPTEDITHDRS)))) { char *tag = NULL, *err = NULL; mutt_env_to_local (msg->env); |