Nest inside of an $if mode=emacs
Change formatting of mode command