Don't call expand-abbrev unless preceding character is a word char.
Attach a file by drag & drop or click to upload