after-insert-file-set-coding, not after-insert-file-set-buffer-file-coding-system.
Attach a file by drag & drop or click to upload