THRIFT-2142:Minor tweaks to thrift.el for better emacs package compatibility
Client: contrib
Patch: Andrew Pennebaker

Updates thrift.el for better emacs compatibility.