summaryrefslogtreecommitdiffstats
path: root/compose.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1998-12-16 11:10:23 +0000
committerThomas Roessler <roessler@does-not-exist.org>1998-12-16 11:10:23 +0000
commit04587f336b4ba01a2574ed294fec7275b20cfb0d (patch)
treef5c947cdd88a7eae33c7e5b3b8767f1485a32ffe /compose.c
parent32d031d5d4fc3fab1f84dcdc20f60aa66ab39681 (diff)
Permit the user to set the typical MIME parameters used with
application/pgp messages.
Diffstat (limited to 'compose.c')
-rw-r--r--compose.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/compose.c b/compose.c
index c3ac8ac2..7766c515 100644
--- a/compose.c
+++ b/compose.c
@@ -737,6 +737,15 @@ int mutt_compose_menu (HEADER *msg, /* structure for new message */
if ((s = mutt_get_parameter("charset", b->parameter)))
mutt_set_parameter("charset", s, &par);
+
+ /* These are needed for "traditional" PGP.
+ * Should we switch to a "negative list" instead?
+ */
+
+ if ((s = mutt_get_parameter("x-action", b->parameter)))
+ mutt_set_parameter("x-action", s, &par);
+ if ((s = mutt_get_parameter("format", b->parameter)))
+ mutt_set_parameter("format", s, &par);
/* ignore the other parameters for now */
mutt_free_parameter(&b->parameter);