Update for terminal emacs.