emacs shell mode up arrow key binding