Added customization of Emacs shell mode.