comint-previous-input
comint-previous-input is an interactive compiled Lisp function in `comint.el'.
(comint-previous-input ARG)
Cycle backwards through input history, saving input.
comint.el'.
(comint-previous-input ARG)
Cycle backwards through input history, saving input.