Function: comint-get-next-from-history
comint-get-next-from-history is an interactive and byte-compiled
function defined in comint.el.gz.
Signature
(comint-get-next-from-history)
Documentation
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.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun 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."
(interactive)
(if comint-save-input-ring-index
(progn
(setq comint-input-ring-index (1+ comint-save-input-ring-index))
(comint-next-input 1))
(message "No previous history command")))