Adapt tmux to emacs.