Added -nw flag for emacs