[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding multiple attachments
Hi,
On Fri, 15 Oct 2010 09:02:25 +0200 Jonathan Groll wrote:
Using Wanderlust, how can one add multiple attachments to an email
painlessly?
Up until now I've been using C-c C-x TAB (mime-edit-insert-file), but
doing this multiple times and re-entering the file path multiple times
is highly inefficient.
A long time ago, someone posted this function somewhere:
(defun mime-edit-insert-multiple-files (name)
"Function to insert multiple files, e.g. `~/images/*.jpg'"
(let (file-list)
(setq file-list (file-expand-wildcards name))
(while (car file-list)
(mime-edit-insert-file (car file-list))
(setq file-list (cdr file-list)))))
I hope this helps.
Best Regards,
Harald
--
`Experience is the best teacher.'