X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=compose.c;h=4d4cc8b02c4aea22e797b3817bfd14db813f124f;hb=c8e9242de36d7aa6e3bb2e446f57ef2a14e4c889;hp=d8e0694c7c10ef62ae03d972f9efad6ef92a5ce2;hpb=569145d4875fd59719a1a3a7d2c7d64d622eacd1;p=apps%2Fmadmutt.git diff --git a/compose.c b/compose.c index d8e0694..4d4cc8b 100644 --- a/compose.c +++ b/compose.c @@ -686,31 +686,6 @@ int mutt_compose_menu (HEADER * msg, /* structure for new message */ mutt_message_hook (NULL, msg, M_SEND2HOOK); break; - case OP_COMPOSE_ATTACH_KEY: - if (idxlen == idxmax) { - p_realloc(&idx, idxmax += 5); - menu->data = idx; - } - - idx[idxlen] = p_new(ATTACHPTR, 1); - if ((idx[idxlen]->content = - crypt_pgp_make_key_attachment (NULL)) != NULL) { - update_idx (menu, idx, idxlen++); - menu->redraw |= REDRAW_INDEX; - } - else - p_delete(&idx[idxlen]); - - menu->redraw |= REDRAW_STATUS; - - if (option (OPTNEEDREDRAW)) { - menu->redraw = REDRAW_FULL; - unset_option (OPTNEEDREDRAW); - } - - mutt_message_hook (NULL, msg, M_SEND2HOOK); - break; - case OP_COMPOSE_ATTACH_FILE: { char *prompt, **files;