set-auto-coding-function modified for the change above.
Attach a file by drag & drop or click to upload