Function: eshell-get-next-from-history

eshell-get-next-from-history is an interactive and byte-compiled function defined in em-hist.el.gz.

Signature

(eshell-get-next-from-history)

Documentation

After fetching a line from input history, this fetches the next.

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/eshell/em-hist.el.gz
(defun eshell-get-next-from-history ()
  "After fetching a line from input history, this fetches the next.
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 eshell-save-history-index
      (progn
	(setq eshell-history-index (1+ eshell-save-history-index))
	(eshell-next-input 1))
    (message "No previous history command")))