comint-get-next-from-history
comint-get-next-from-history is an interactive compiled Lisp function in `comint.el
'.
(comint-get-next-from-history)
After fetching a line from input history, this fetches the following line.
In other words, this recalls the input line after the line you recalled last.
You can use this to repeat a sequence of input lines.