(set-auto-mode, hack-local-variables-prop-line): Use that.
Attach a file by drag & drop or click to upload