Function: eshell-history-isearch-push-state
eshell-history-isearch-push-state is a byte-compiled function defined
in em-hist.el.gz.
Signature
(eshell-history-isearch-push-state)
Documentation
Save a function restoring the state of input history search.
Save eshell-history-index to the additional state parameter in the
search status stack.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defun eshell-history-isearch-push-state ()
"Save a function restoring the state of input history search.
Save `eshell-history-index' to the additional state parameter in the
search status stack."
(let ((index eshell-history-index))
(lambda (_cmd)
(eshell-goto-history index))))