This allows you to attach multiple files by pressing 'a' in the compose menu,
pressing <tab> or '?' to browse a directory and select the file by tagging and
press 'q'.
---
browser.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/browser.c b/browser.c
index cda4900..aaf5ff4 100644
--- a/browser.c
+++ b/browser.c
@@ -847,6 +847,8 @@ void _mutt_select_file (char *f, size_t flen, int flags,
char ***files, int *num
if (menu->tagged)
{
+ /* XXX: make mutt_compose_menu recoginze that there are tagged
files */
+ f[0] = 1;
*numfiles = menu->tagged;
tfiles = safe_calloc (*numfiles, sizeof (char *));
for (i = 0, j = 0; i < state.entrylen; i++)
--
1.7.10.4