Fixing some custom config for emacs