Function: 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. (fn)