Fix rte emacs minor mode