Fix some emacs related configuration