From http://lists.gnu.org/archive/html/emacs-devel/2010-10/msg00527.html
Attach a file by drag & drop or click to upload