Function: eshell-isearch-backward

eshell-isearch-backward is an interactive and byte-compiled function defined in em-hist.el.gz.

Signature

(eshell-isearch-backward &optional INVERT)

Documentation

Do incremental regexp search backward through past commands.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/em-hist.el.gz
(defun eshell-isearch-backward (&optional invert)
  "Do incremental regexp search backward through past commands."
  (interactive)
  (let ((inhibit-read-only t))
    (eshell-prepare-for-search)
    (goto-char (point-max))
    (set-marker eshell-last-output-end (point))
    (delete-region (point) (point-max)))
  (isearch-mode invert t 'eshell-return-to-prompt))