summaryrefslogtreecommitdiffstats
path: root/functions.h
diff options
context:
space:
mode:
authorDamien Riegel <damien.riegel@gmail.com>2016-11-07 18:10:22 -0800
committerDamien Riegel <damien.riegel@gmail.com>2016-11-07 18:10:22 -0800
commita3c973656d894d305883feaa3c2dd07c03e346b8 (patch)
treed44702c4f69398c3f6e6fa3ec6edd9f5e915e454 /functions.h
parente8b8560351db51fb871675eeccc648fba6897bcf (diff)
compose: add operation to rename an attachment
As opposed to rename-file, which actually renames the underlying file of the attachment, rename-attachment puts a value in d_filename, which is used in the Content-Disposition header.
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.h b/functions.h
index 4f04251e..a0a09d02 100644
--- a/functions.h
+++ b/functions.h
@@ -350,6 +350,7 @@ const struct binding_t OpCompose[] = { /* map: compose */
{ "new-mime", OP_COMPOSE_NEW_MIME, "n" },
{ "postpone-message", OP_COMPOSE_POSTPONE_MESSAGE, "P" },
{ "edit-reply-to", OP_COMPOSE_EDIT_REPLY_TO, "r" },
+ { "rename-attachment",OP_COMPOSE_RENAME_ATTACHMENT, "\017" },
{ "rename-file", OP_COMPOSE_RENAME_FILE, "R" },
{ "edit-subject", OP_COMPOSE_EDIT_SUBJECT, "s" },
{ "edit-to", OP_COMPOSE_EDIT_TO, "t" },