Function: comint-history-isearch-push-state

comint-history-isearch-push-state is a byte-compiled function defined in comint.el.gz.

Signature

(comint-history-isearch-push-state)

Documentation

Save a function restoring the state of input history search.

Save comint-input-ring-index to the additional state parameter in the search status stack.

Source Code

;; Defined in /usr/src/emacs/lisp/comint.el.gz
(defun comint-history-isearch-push-state ()
  "Save a function restoring the state of input history search.
Save `comint-input-ring-index' to the additional state parameter
in the search status stack."
  (let ((index comint-input-ring-index))
    (lambda (cmd)
      (comint-history-isearch-pop-state cmd index))))