Added support for Emacs Shell buffers in the function `term_title'.