Fixes so emacs works