[TG] Set emacs as default editor for external programs