summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>2004-07-14 05:39:23 +0000
committerThomas Roessler <roessler@does-not-exist.org>2004-07-14 05:39:23 +0000
commit54d88e6db7db1a717af34adc6d58036d26e5edd6 (patch)
treefd2e0fb0780e4f116ce4c4850da4a6fa99cc0983 /compose.c
parent482c8c16a4d2e91647267b33438263ea5235d85e (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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/compose.c b/compose.c
index 8bd93b01..ad9dc222 100644
--- a/compose.c
+++ b/compose.c
@@ -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);